Skip to content

feat: Allow user to cancel workspace jobs #5115

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

Merged
merged 19 commits into from
Nov 21, 2022
Prev Previous commit
Next Next commit
Fix: message
  • Loading branch information
mtojek committed Nov 18, 2022
commit 472fee8cd15daf9a63351dd722d09169fe75338a
2 changes: 1 addition & 1 deletion coderd/workspacebuilds.go
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ func (api *API) patchCancelWorkspaceBuild(rw http.ResponseWriter, r *http.Reques
}
if !valid {
httpapi.Write(ctx, rw, http.StatusForbidden, codersdk.Response{
Message: "User is not allowed cancel workspace builds. Owner role is required.",
Message: "User is not allowed to cancel workspace builds. Owner role is required.",
})
return
}
Expand Down