cuddly-lawyer-8990
01/19/2024, 4:47 PMrole_attribute_path = contains(resource_access.grafana_oauth.roles[*], 'grafanaadmin') && 'GrafanaAdmin' || contains(resource_access.grafana_oauth.roles[*], 'admin') && 'Admin' || contains(resource_access.grafana_oauth.roles[*], 'editor') && 'Editor' || 'Viewer'
FYI. To get more advanced, my keycloak is configured using SAML so I actually pull the corp groups and can assign these to attributes of the keycloak user and then map them into actual group claim which would give me more of a AD driven admin setup... but getting the basics working 1st if my goal.
Any help would be great.microscopic-twilight-7661
01/29/2024, 2:53 PMmicroscopic-twilight-7661
01/29/2024, 4:05 PMcuddly-lawyer-8990
01/29/2024, 4:45 PMcuddly-lawyer-8990
01/29/2024, 4:45 PMmicroscopic-twilight-7661
01/29/2024, 4:45 PM