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

Display message for read-only mode #584

Open
siamaksade opened this issue May 20, 2021 · 1 comment
Open

Display message for read-only mode #584

siamaksade opened this issue May 20, 2021 · 1 comment

Comments

@siamaksade
Copy link

siamaksade commented May 20, 2021

Check if user is able to create resources and if not, inform user that they can only view objects. Actions that require create privileges should get disabled for the user.

@sudhirverma
Copy link
Contributor

@siamaksade and @evidolob

I have already implemented this feature

developer

and showing object is also not a good idea because if the user doesn't have the privilege they can't view the tekton resources.

for example:

$ kubectl get pipeline
Error from server (Forbidden): pipelines.tekton.dev is forbidden: User "developer" cannot list resource "pipelines" in API group "tekton.dev" in the namespace "default"

@sudhirverma sudhirverma removed this from the 0.17.0 milestone Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants