Hi everyone,
I’ve enabled GitLab authentication in Grafana (using our self-hosted GitLab instance). Users are able to authenticate successfully, but every user is assigned the Viewer role by default — and the role is locked
Attached is an image showing the locked role setting.
Thanks in advance for any help!
It is not clear what is wrong, so I assume you have what you configured.
“role is locked” - Configure skip_org_role_sync properly so you will be able to change user role in the UI manually
“User is assigned the Viewer role” - Configure role_attribute_path
(GitLab) properly
Doc is your friend:
I set skip_org_role_sync = true
but still the same issue i cant change the role in the UI
If your user is still a Viewer then you won’t be able to update the Users’s role (assuming that the skip_org_role_sync=true
→ so there isn’t any Synced via GitLab
label next to the role).