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

Workspace viewer role #1332

Open
KamranBiglari opened this issue Sep 23, 2024 · 3 comments
Open

Workspace viewer role #1332

KamranBiglari opened this issue Sep 23, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@KamranBiglari
Copy link

Feature description 💡

Is it possible to add a feature to have viewer role for workspace?
I want to have a team with least permission to just view and read the state without writing/modifying or execute.

OTF has this feature: https://docs.otf.ninja/latest/rbac/#permissions

Anything else?

No response

@KamranBiglari KamranBiglari added the enhancement New feature or request label Sep 23, 2024
@alfespa17
Copy link
Member

Hello @KamranBiglari

If you add a team and you unselect all options and just click save it will be like a reader role, I think that should work for you

image

@alfespa17
Copy link
Member

From Terrakube 2.23.0-beta.3 there is a new permission called "Manage State"

image

Once disable you wont be able to see the state in the UI.

image

@alfespa17
Copy link
Member

alfespa17 commented Sep 26, 2024

Additionally if you disable "Manage State" all options will be disabled in this page

image

And if you try to run a job from the UI you will get a 403 error

image

This needs to be improve to be more "friendly in the UI"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants