(cherry picked from commit 5fcec05695)
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
This commit is contained in:
co-authored by
Gabriel MABILLE
parent
f01526e35b
commit
e20953e4f8
@@ -449,6 +449,7 @@ func (server *Server) buildGrafanaUser(user *ldap.Entry) (*models.ExternalUserIn
|
||||
|
||||
// Skipping org role sync
|
||||
if SkipOrgRoleSync() {
|
||||
server.log.Debug("skipping organization role mapping.")
|
||||
return extUser, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user