Skip to content

Conversation

@jinapurapu
Copy link
Contributor

The admin:CreateUser permission is being granted to all Users, which is enabling the Users tab in the menu even if the logged in User does not actually have the permissions to view or change anything on the Users screen, leading them to an unusable screen. It now requires an additional User permission to display the Users tab.

Screen Shot 2022-11-02 at 12 20 28 PM

Users tab is displayed for this policy
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"admin:GetUser",
"admin:ListUsers"
],
"Resource": [
"arn:aws:s3:::*"
]
}
]
}
Screen Shot 2022-11-02 at 12 23 15 PM

Users tab is not displayed for this policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:GetBucketLocation",
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::*"
]
}
]
}

Copy link
Member

@prakashsvmx prakashsvmx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested. LGTM 👍

@bexsoft bexsoft merged commit 404efd2 into minio:master Nov 3, 2022
adfost pushed a commit to adfost/console that referenced this pull request Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants