From b6d60dd0d5afc3f2b7b9eb2f095d9dfef829c978 Mon Sep 17 00:00:00 2001 From: xbgmsharp Date: Mon, 28 Nov 2022 18:17:07 +0100 Subject: [PATCH] Update grafana_auth role description --- initdb/02_6_signalk_roles.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initdb/02_6_signalk_roles.sql b/initdb/02_6_signalk_roles.sql index 00bd657..20a8002 100644 --- a/initdb/02_6_signalk_roles.sql +++ b/initdb/02_6_signalk_roles.sql @@ -56,7 +56,7 @@ GRANT SELECT ON TABLE api.logs_view,api.moorages_view,api.stays_view TO grafana; -- Grafana_auth authticator user and role with login, read-only on auth.accounts, limit 10 connections CREATE ROLE grafana_auth WITH NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT NOBYPASSRLS NOREPLICATION CONNECTION LIMIT 10 LOGIN PASSWORD 'mysecretpassword'; comment on role grafana_auth is - 'Role that grafana as authenticator via apache.'; + 'Role that grafana auth proxy authenticator via apache.'; GRANT USAGE ON SCHEMA auth TO grafana_auth; --GRANT USAGE, SELECT ON SEQUENCE auth.accounts_pkey TO grafana_auth; GRANT SELECT ON TABLE auth.accounts TO grafana_auth;