mirror of
https://github.com/minio/minio.git
synced 2024-12-26 07:05:55 -05:00
Add root user to ListAccessKeysBulk
(#20517)
This commit is contained in:
parent
cb1d3e50f7
commit
ba70118e2b
@ -1244,6 +1244,7 @@ func (a adminAPIHandlers) ListAccessKeysBulk(w http.ResponseWriter, r *http.Requ
|
|||||||
for user := range users {
|
for user := range users {
|
||||||
checkedUserList = append(checkedUserList, user)
|
checkedUserList = append(checkedUserList, user)
|
||||||
}
|
}
|
||||||
|
checkedUserList = append(checkedUserList, globalActiveCred.AccessKey)
|
||||||
} else {
|
} else {
|
||||||
for _, user := range users {
|
for _, user := range users {
|
||||||
// Validate the user
|
// Validate the user
|
||||||
|
Loading…
Reference in New Issue
Block a user