Skip to content
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

don't check capabilities before rendering the credentials route #4446

Merged
merged 1 commit into from
Apr 25, 2018

Conversation

meirish
Copy link
Contributor

@meirish meirish commented Apr 25, 2018

In the UI we were trying to smooth over not having the right capabilities when generating credentials via dynamic secrets engines - if you didn't have update permissions (most api actions are POST), then we'd just redirect you back to the list. But! it's not always so simple as the AWS engine does GET for IAM, and POST for STS - so instead of checking for every combination, we'll let the ACL system do its job and just show the error in the UI.

There may be some back-button-pressing for some users, but the UI and CLI should be consistent in the use of required ACLs ( #4335 (comment) for the report).

@meirish meirish force-pushed the ui-no-creds-capabilities-check branch from 87f0e48 to 349a5c9 Compare April 25, 2018 03:21
@meirish meirish merged commit 5bf6e8b into master Apr 25, 2018
@meirish meirish deleted the ui-no-creds-capabilities-check branch April 25, 2018 03:22
@jefferai jefferai added this to the 0.10.1 milestone Apr 25, 2018
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.

2 participants