-
Notifications
You must be signed in to change notification settings - Fork 553
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
Updates/merge multiple policy #4691
Updates/merge multiple policy #4691
Conversation
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.
I think output should indicate that this is a merged policy output of the policies applied to the user to reduce chances of confusion.
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.
In mc we treat go
err as e
and probe.Error
as err
PTAL @donatello |
PTAL @donatello @shtripat |
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.
lgtm
Description
This PR merges multiple policies in
mc admin user policy TARGET USERNAME
command, if more than one exists../mc admin user add myminio minio1 minio123 Added user `minio1` successfully.
$ ./mc admin policy list myminio consoleAdmin diagnostics readonly readwrite writeonly