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

ui: Implement ACLs access based on ACLs #9835

Merged
merged 5 commits into from
Mar 11, 2021
Merged

Conversation

johncowen
Copy link
Contributor

@johncowen johncowen commented Feb 26, 2021

Continuing on from the work done in #9687 this PR adds restrictions to everything within the ACLs (and nspaces) area based on your ACLs (including readonly views etc.)

An extra note here, in previous version of the UI we have a completely different method of gating access to the ACLs area dating from the beginning of the new UI. This is probably redundant now that we inspect ACLs globally using our new authorize endpoint. Whether it is or not is a little unclear as the previous approach also checks for existence of the old ACLs system and whether ACLs are enabled or not. I'll look a bit deeper into this an possibly completely remove all the old style of gating in a separate PR.

@johncowen johncowen added the theme/ui Anything related to the UI label Feb 26, 2021
@hashicorp-ci
Copy link
Contributor

🤔 Double check that this PR does not require a changelog entry in the .changelog directory. Reference

@vercel vercel bot temporarily deployed to Preview – consul March 5, 2021 10:25 Inactive
@johncowen johncowen added the pr/no-changelog PR does not need a corresponding .changelog entry label Mar 5, 2021
Copy link
Contributor

@kaxcode kaxcode left a comment

Choose a reason for hiding this comment

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

LGTM

@johncowen johncowen merged commit fa6687b into master Mar 11, 2021
@johncowen johncowen deleted the ui/feature/acl-abilities branch March 11, 2021 09:29
@hashicorp-ci
Copy link
Contributor

🍒 If backport labels were added before merging, cherry-picking will start automatically.

To retroactively trigger a backport after merging, add backport labels and re-run https://circleci.com/gh/hashicorp/consul/336112.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/no-changelog PR does not need a corresponding .changelog entry theme/ui Anything related to the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants