feat(grafana): Enhance role assignment for Grafana users

Add support for assigning both 'GrafanaAdmin' and 'Editor' roles through the `role_attribute_path`.

Enable the option to allow assignment of Grafana Admin roles directly, enhancing user management capabilities.
This commit is contained in:
Daniel Sy 2025-08-13 15:23:56 +02:00
parent 9f0b64b7a4
commit 9dab4ea0c8
Signed by: Daniel.Sy
GPG key ID: 1F39A8BBCD2EE3D3

View file

@ -57,4 +57,5 @@ spec:
token_url: https://dex.observability.t09.de/token
api_url: https://dex.observability.t09.de/userinfo
redirect_uri: https://grafana.observability.t09.de/login/generic_oauth
role_attribute_path: "contains(groups[*], 'DevFW') && 'GrafanaAdmin'"
role_attribute_path: "contains(groups[*], 'DevFW') && 'GrafanaAdmin' || 'Editor'"
allow_assign_grafana_admin: "true"