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
1 changed files with 1 additions and 0 deletions

View File

@ -1244,6 +1244,7 @@ func (a adminAPIHandlers) ListAccessKeysBulk(w http.ResponseWriter, r *http.Requ
for user := range users {
checkedUserList = append(checkedUserList, user)
}
checkedUserList = append(checkedUserList, globalActiveCred.AccessKey)
} else {
for _, user := range users {
// Validate the user