tools
This commit is contained in:
25
02_tools.sql
Normal file
25
02_tools.sql
Normal file
@@ -0,0 +1,25 @@
|
||||
create role metabase_user with
|
||||
login
|
||||
nosuperuser
|
||||
nocreatedb
|
||||
nocreaterole
|
||||
noinherit
|
||||
noreplication
|
||||
connection limit -1
|
||||
password 'supermotdepasse';
|
||||
|
||||
create database metabase
|
||||
with owner metabase_user;
|
||||
|
||||
grant connect on database metabase to metabase_user;
|
||||
|
||||
|
||||
grant usage
|
||||
on schema public
|
||||
to metabase_user;
|
||||
|
||||
grant select on all tables
|
||||
in schema public
|
||||
to metabase_user;
|
||||
|
||||
/* User grafana */
|
||||
Reference in New Issue
Block a user