-
Notifications
You must be signed in to change notification settings - Fork 288
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
Policy action wildcards do not include the policy with no character after wildcard #3217
Comments
what is ${bucket_name}? there is no such thing as ${bucket_name}. There are standard keywords you can use, but you can only do what you want here. https://github.com/minio/minio/tree/master/docs/multi-user#policy-variables |
Changed it to something even more generic. That is a placeholder for terraform. Just replace it with an actual bucket name. |
Will check |
@sdejong629 as of now only the above f wildcards are supported for actions. |
@harshavardhana are we planning to support it? this might be coming from mc client. |
what is? |
NOTE
If this case is urgent, please subscribe to Subnet so that our 24/7 support team may help you faster.
When using wildcards in a s3 policy, this does not include policy names with a null value for the wildcard after upgrading in the Minio GUI.
Expected Behavior
When you for example have a policy action named "s3:DeleteObject*", this should include "s3:DeleteObject" (no *) action after upgrading to version 2024.1.16. In the GUI you can delete objects based on that policy.
Current Behavior
Users with a policy action of "s3:DeleteObject*" can not delete objects within the GUI. You have to explicitly add "s3:DeleteObject" as a policy. This behavior has changed since our previous version.
Possible Solution
Steps to Reproduce (for bugs)
Context
We had to add policies for every bucket in our environment after updating
Regression
No sure what that means
Your Environment
minio version DEVELOPMENT.2024-01-16T16-07-38Z (commit-id=ca258c04cb1dea33c31fed86250eaa3d1f020ff8)
Runtime: go1.21.6 linux/amd64
License: GNU AGPLv3 https://www.gnu.org/licenses/agpl-3.0.html
Copyright: 2015-2024 MinIO, Inc.
Running in docker on Ubuntu 22.04
The text was updated successfully, but these errors were encountered: