Add root user to ListAccessKeysBulk (#20517)

This commit is contained in:
Taran Pelkey 2024-10-03 19:11:02 -04:00 committed by GitHub
parent cb1d3e50f7
commit ba70118e2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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