-
-
Save v1nc3ntlaw/e1cf39e3f54741a47c1412a129f1f57c to your computer and use it in GitHub Desktop.
Revisions
-
mr-linch revised this gist
Feb 6, 2021 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,4 +12,7 @@ grant select on all tables in schema public to metabase; -- allow user to access all tables in schema alter default privileges in schema public grant select on tables to metabase; -- limit number of connections -- alter role metabase with connection limit 10 -
mr-linch revised this gist
Feb 6, 2021 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,6 +7,9 @@ grant connect on database site to metabase; -- allow user access to schema grant usage on schema public to metabase; -- grant select on existing tables grant select on all tables in schema public to metabase; -- allow user to access all tables in schema alter default privileges in schema public grant select on tables to metabase; -
mr-linch revised this gist
Feb 6, 2021 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,12 @@ -- create user (e.g. metabase) create user metabase with encrypted password 'password'; -- allow user connect to db grant connect on database site to metabase; -- allow user access to schema grant usage on schema public to metabase; -- allow user to access all tables in schema alter default privileges in schema public grant select on tables to metabase; -
mr-linch created this gist
Feb 6, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ # create user (e.g. metabase) create user metabase with encrypted password 'password'; # allow user connect to db grant connect on database site to metabase; # allow user access to schema grant usage on schema public to metabase; # allow user to access all tables in schema alter default privileges in schema public grant select on tables to metabase;