ldap: Make it possible to define Grafana admins via ldap setup, closes #2469

This commit is contained in:
Torkel Ödegaard
2018-07-16 16:56:42 +02:00
parent f0508aa526
commit c189262bac
7 changed files with 77 additions and 24 deletions

View File

@@ -72,6 +72,8 @@ email = "email"
[[servers.group_mappings]]
group_dn = "cn=admins,dc=grafana,dc=org"
org_role = "Admin"
# To make user a instance admin (Grafana Admin) uncomment line below
# grafana_admin = true
# The Grafana organization database id, optional, if left out the default org (id 1) will be used
# org_id = 1