mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 06:00:24 +03:00
api/bucket-policy: Add unit tests for more coverage, fixes couple of bugs. (#2055)
Changes to ResourceMatch logic. Test for action match function.
This commit is contained in:
committed by
Harshavardhana
parent
bcb822c390
commit
48aa5f2199
@@ -34,6 +34,8 @@ const (
|
||||
|
||||
// supportedActionMap - lists all the actions supported by minio.
|
||||
var supportedActionMap = map[string]struct{}{
|
||||
"*": {},
|
||||
"s3:*": {},
|
||||
"s3:GetObject": {},
|
||||
"s3:ListBucket": {},
|
||||
"s3:PutObject": {},
|
||||
|
||||
Reference in New Issue
Block a user