-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix statement.IsAllowed when bucket disallowed #132
Conversation
@donatello @vadmeste please review this carefully, as its a breaking change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change fixes problem in mentioned issue. Doesn't break anything unexpected in my testing, so as long as the expected breaking changes are ok, it LGTM.
Thank you @taran-p - onwards. |
This PR does actually break this test
|
This PR also breaks a policy like this where ListObjects() must work but fails
The PR is reverted. |
This reverts commit 4f16e1e.
This reverts commit 4f16e1e.
Resolves minio/minio#20449
I also added some tests.
By the way, some existing tests seem to be duplicate of each other, can somebody understand what their use is? If not, I may remove them.
Because:
anonGetBucketLocationArgs
andgetBucketLocationArgs
are exactly the sameanonPutObjectActionArgs
andputObjectActionArgs
are exactly the sameanonGetObjectActionArgs
andgutObjectActionArgs
are exactly the same