Skip to content

Commit

Permalink
Grant pg_read_all_stats to metabase
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentAntoine committed Jul 24, 2024
1 parent a56384e commit 136069e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions infra/remote/db_users/metabase.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO readaccess;

CREATE USER metabase WITH PASSWORD '***';
GRANT readaccess TO metabase;

GRANT pg_read_all_stats TO metabase;

0 comments on commit 136069e

Please sign in to comment.