Remove misleading double-quotes around GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH
This commit is contained in:
parent
f9795981b6
commit
fe5f8c65cc
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ grafana_environment_variables_additional_variables: |
|
||||||
#GF_AUTH_OAUTH_AUTO_LOGIN="true"
|
#GF_AUTH_OAUTH_AUTO_LOGIN="true"
|
||||||
GF_AUTH_GENERIC_OAUTH_ALLOW_ASSIGN_GRAFANA_ADMIN=true
|
GF_AUTH_GENERIC_OAUTH_ALLOW_ASSIGN_GRAFANA_ADMIN=true
|
||||||
# Optionally map user groups to Grafana roles
|
# Optionally map user groups to Grafana roles
|
||||||
GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH="contains(groups[*], 'Grafana Admins') && 'Admin' || contains(groups[*], 'Grafana Editors') && 'Editor' || 'Viewer'"
|
GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH=contains(groups[*], 'Grafana Admins') && 'Admin' || contains(groups[*], 'Grafana Editors') && 'Editor' || 'Viewer'
|
||||||
```
|
```
|
||||||
|
|
||||||
Make sure the user you want to login as has an email address in authentik, otherwise there will be an error.
|
Make sure the user you want to login as has an email address in authentik, otherwise there will be an error.
|
||||||
|
|
Loading…
Reference in a new issue