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

Add command-line flag to forbid resource access #51

Merged
merged 1 commit into from
Apr 26, 2021

Conversation

ricoberger
Copy link
Member

This commit adds a new command-line flag
"--clusters.forbidden-resources", which can be used to forbid access to
a list of resources. This allow a user to still use RBAC with wildcards
for the permissions of kobs, but do not allow a user to access the
specified resources.

We also adjusted the corresponding React component, so that the error is
now shown to the user. This also fixes a problem, where the app
crashed, whenn the empty state was clicked in the resources list.

This commit adds a new command-line flag
"--clusters.forbidden-resources", which can be used to forbid access to
a list of resources. This allow a user to still use RBAC with wildcards
for the permissions of kobs, but do not allow a user to access the
specified resources.

We also adjusted the corresponding React component, so that the error is
now shown to the user. This also  fixes a problem, where the app
crashed, whenn the empty state was clicked in the resources list.
@ricoberger ricoberger force-pushed the forbid-access-for-resources-via-command-line-flag branch from 553d9c3 to 5d06744 Compare April 26, 2021 18:05
@ricoberger ricoberger merged commit e3073d2 into main Apr 26, 2021
@ricoberger ricoberger deleted the forbid-access-for-resources-via-command-line-flag branch April 26, 2021 18:44
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