Skip to content

Commit c8d3dda

Browse files
committed
update comments
1 parent 01f4239 commit c8d3dda

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

coderd/rbac/object.go

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,17 @@ var (
2828
Type: "workspace",
2929
}
3030

31+
// ResourceWorkspaceBuild refers to permissions necessary to
32+
// insert a workspace build job.
33+
// create/delete = ?
34+
// read = read workspace builds
35+
// update = insert/update workspace builds.
3136
ResourceWorkspaceBuild = Object{
3237
Type: "workspace_build",
3338
}
3439

35-
// ResourceWorkspaceLocked CRUD.
36-
// create/delete = make or delete workspaces
37-
// read = access workspace
38-
// update = edit workspace variables
40+
// ResourceWorkspaceLocked is returned if a workspace is locked.
41+
// It grants restricted permissions on workspace builds.
3942
ResourceWorkspaceLocked = Object{
4043
Type: "workspace_locked",
4144
}

0 commit comments

Comments
 (0)