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

Start RBAC Work #89

Merged
merged 1 commit into from
Sep 17, 2024
Merged

Start RBAC Work #89

merged 1 commit into from
Sep 17, 2024

Conversation

spjmurray
Copy link
Member

Users have access to APIs based on RBAC, so a non-admin user will not be able to see group memberships, edit projects etc. This introduces an initial framework to block access to these APIs (thus avoiding API error toasts), and instead present an error screen. Obviously this is an initial hack to see what works and what doesn't, so liable to change, but it appears to do what we want it to! Additionally fixes a problem with flavor selection not working due to the IDs not being properly scoped.

Users have access to APIs based on RBAC, so a non-admin user will not be
able to see group memberships, edit projects etc.  This introduces an
initial framework to block access to these APIs (thus avoiding API error
toasts), and instead present an error screen.  Obviously this is an
initial hack to see what works and what doesn't, so liable to change,
but it appears to do what we want it to!  Additionally fixes a problem
with flavor selection not working due to the IDs not being properly
scoped.
@spjmurray spjmurray merged commit 7080c51 into main Sep 17, 2024
2 checks passed
@spjmurray spjmurray deleted the rbac_beginnings branch September 17, 2024 11:43
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.

1 participant