Skip to content

disable Cancel button entirely for non-Owners #11449

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

Closed
ericpaulsen opened this issue Jan 5, 2024 · 0 comments · Fixed by #11553
Closed

disable Cancel button entirely for non-Owners #11449

ericpaulsen opened this issue Jan 5, 2024 · 0 comments · Fixed by #11553
Assignees
Labels
good first issue Easily solved issues suitable for starters and community contributors site Area: frontend dashboard

Comments

@ericpaulsen
Copy link
Member

we have a template option to allow users to cancel in-progress workspace jobs. if this is disabled, the cancel button is still shown. when clicked, an error message appears saying only owners are allowed to cancel the build.

instead of returning an error, we should disable or remove the cancel button entirely for users who are non-owners (assuming the template option is disabled). this is feedback from one of our large customers.

Screenshot 2024-01-05 at 09 59 36

@ericpaulsen ericpaulsen added the site Area: frontend dashboard label Jan 5, 2024
@cdr-bot cdr-bot bot added the feature label Jan 5, 2024
@BrunoQuaresma BrunoQuaresma self-assigned this Jan 5, 2024
@f0ssel f0ssel assigned f0ssel and unassigned BrunoQuaresma Jan 5, 2024
@matifali matifali added the good first issue Easily solved issues suitable for starters and community contributors label Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Easily solved issues suitable for starters and community contributors site Area: frontend dashboard
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants