vscode-tekton icon indicating copy to clipboard operation
vscode-tekton copied to clipboard

Display message for read-only mode

Open siamaksade opened this issue 3 years ago • 1 comments

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.

siamaksade avatar May 20 '21 13:05 siamaksade

@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 avatar Jun 11 '21 18:06 sudhirverma