Permission lost user Admin

Hello

I updated grafana to version 5 and when I configured a user with Admin permission a few hours or days ago ok and back to the viewing permission, has anyone had it in the new version?

Thank you

Paulo

1 Like

Are you using ldap auth?

Yes, I´m using ldap auth

Hi guys.
We also have issue with Admin permission for LDAP users.
The Admin permission takes off due some time. Only local Grafana user that is super admin is working well.
How we can prevent this issue?

1 Like

We’re also suffering from the occasional change of ‘Admin’ to ‘Viewer’, it appears to be limited to small subset of users who interact with Grafana on a regular basis. We’re using ldap and there are no other commonalities that I’ve been able to find.

1 Like

So amusingly enough, we found it … in our ldap.toml, at some point I clearly overlooked the change when upgrading… now that I’ve got folks in the correct ldap groups … problems have gone away.

[[servers.group_mappings]]
group_dn = “cn=metrics-users,ou=Groups,dc=XXXX,dc=com”
org_role = “Editor”

[[servers.group_mappings]]

If you want to match all (or no ldap groups) then you can use wildcard

group_dn = “*”
org_role = “Viewer”

1 Like

Thank you.

Commenting the block wirh “*” Viewer saves my day :slight_smile: