Skip to content

disable Cancel button entirely for non-Owners #11449

Closed
@ericpaulsen

Description

@ericpaulsen

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

Metadata

Metadata

Assignees

Labels

good first issueEasily solved issues suitable for starters and community contributorssiteArea: frontend dashboard

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions