LDAP: Fix debug view to display the actual computed mapping in ldap.go (#48103)

* LDAP debug fix with Org role inheritance

Co-authored-by: Jguer <joao.guerreiro@grafana.com>

* ldap debug coherent with ldap.go

Co-authored-by: Jguer <joao.guerreiro@grafana.com>

Co-authored-by: Jguer <joao.guerreiro@grafana.com>
This commit is contained in:
Gabriel MABILLE
2022-04-22 15:45:54 +02:00
committed by GitHub
parent 1566fa2ede
commit 94fd03f44f
4 changed files with 23 additions and 37 deletions

View File

@ -6,7 +6,7 @@ import (
"gopkg.in/ldap.v3"
)
func isMemberOf(memberOf []string, group string) bool {
func IsMemberOf(memberOf []string, group string) bool {
if group == "*" {
return true
}