Couldn't update the role of user

The user has the role as “Viewer” now, I log in as admin, and change the role to “Editor”. In the admin page, it looks the new profile is updated. I can see Grafana server return code 200, and if I refresh the page, the user still has “Viewer” role.

But when the user login again, his profile back to “Viewer” again.

Any idea where could be wrong?

Do you have any authentication set up (LDAP, oauth etc.)? LDAP sync is a potential culprit.

Thank you, we use LDAP. I will take a look at ldap sync.