From 5911775ffde5e31be5faeed48581b2b929a23341 Mon Sep 17 00:00:00 2001 From: Les Aker Date: Thu, 28 Nov 2024 18:35:26 -0500 Subject: [PATCH] update perms --- templates/setup.sh.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/setup.sh.erb b/templates/setup.sh.erb index 5b6fd5c..9d2a1f3 100644 --- a/templates/setup.sh.erb +++ b/templates/setup.sh.erb @@ -4,6 +4,6 @@ set -e psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL CREATE USER grafana; ALTER USER grafana WITH PASSWORD '<%= @grafana_password %>'; - GRANT SELECT ON TABLE ledger TO grafana; + GRANT SELECT ON ALL TABLES IN SCHEMA public TO grafana; EOSQL