mirror of
https://github.com/minio/minio.git
synced 2026-11-13 14:44:19 +00:00
fix: optimize ListBuckets for anonymous users (#12182)
anonymous users are never allowed to listBuckets(), we do not need to further validate the policy, we can simply reject if credentials are empty.
This commit is contained in:
1 parent
c301027942
commit
b3c8a1864f
2 files changed
+6
-1
No files matched your search
@@ -46,4 +46,3 @@ jobs:
|
||||
make crosscompile
|
||||
make verify
|
||||
make verify-healing
|
||||
bash -c 'shopt -s globstar; shellcheck mint/**/*.sh'
|
||||
Reference in new issue
Block a user