Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
svc: Assume access key creation permission to be available by default (…
…minio#3306) Allow SVC creation when CreateServiceAccount is denied with a condition Adding this policy will make the user not able to create a service account anymore: ``` { "Effect": "Deny", "Action": [ "admin:CreateServiceAccount" ], "Condition": { "NumericGreaterThanIfExists": {"svc:DurationSeconds": "1500"} } }, ``` The reason is that policy.IsAllowedActions() is called with conditions from the user login. Assume svc account creation to be possible for now until we come up with a better fix Co-authored-by: Anis Eleuch <[email protected]> Co-authored-by: Prakash Senthil Vel <[email protected]>
- Loading branch information