mirror of
https://github.com/minio/minio.git
synced 2026-11-13 14:44:19 +00: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:
1 parent
2f1e8ba612
commit
85d2df02b9
2 files changed
+9
-9
No files matched your search
@@ -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