mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
fix: user listing with LDAP (#13872)
Users listing was showing just a weird policy mapping output which does not make sense here.
This commit is contained in:
committed by
GitHub
parent
2f1e8ba612
commit
85d2df02b9
@@ -1099,15 +1099,6 @@ func (store *IAMStoreSys) GetUsers() map[string]madmin.UserInfo {
|
||||
}
|
||||
}
|
||||
|
||||
if store.getUsersSysType() == LDAPUsersSysType {
|
||||
for k, v := range cache.iamUserPolicyMap {
|
||||
result[k] = madmin.UserInfo{
|
||||
PolicyName: v.Policies,
|
||||
Status: madmin.AccountEnabled,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return result
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user