vscode-tekton
vscode-tekton copied to clipboard
Display message for read-only mode
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 and @evidolob
I have already implemented this feature
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"