Skip to content

Configure Admin users as Grafana Admins

Problem to solve

If you use Grafana with Gitlab as OAuth provider and disable regular logins (the current default), all users are configured as Viewer.

This means all the dashboards are read-only and you can't edit anything.

To solve this, you need to re-enable the admin account (requires a gitlab-ctl reconfigure), login as admin and give access to another "regular" OAuth user.

Proposal

Automatically provision admin users (on Gitlab) as Grafana Admin users. This should also be done on update.

Alternatively, add a configuration option to provision some users as Admin or Editor.

Permissions and Security

There shouldn't be any security issue. Gitlab Admins are already all powerful.