Merge pull request #298 from trails-cool/infra/grafana-editor-default

Default Grafana auto-assign role to Editor
This commit is contained in:
Ullrich Schäfer 2026-04-24 18:08:47 +02:00 committed by GitHub
commit c0b42e4743
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -189,6 +189,11 @@ services:
GF_AUTH_GITHUB_SCOPES: user:email,read:org
GF_AUTH_OAUTH_ALLOW_INSECURE_EMAIL_LOOKUP: "true"
GF_AUTH_DISABLE_LOGIN_FORM: "true"
# New GitHub-authenticated users land as Editor, not the default
# Viewer, so they can use Explore (ad-hoc Loki/Prometheus queries)
# without an admin promotion step. Access is already gated by the
# GF_AUTH_GITHUB_ALLOWED_ORGANIZATIONS allowlist above.
GF_USERS_AUTO_ASSIGN_ORG_ROLE: Editor
GF_SMTP_ENABLED: "true"
GF_SMTP_HOST: ${GF_SMTP_HOST:-}
GF_SMTP_USER: ${GF_SMTP_USER:-}