chore: Remove template-admin can create/update/delete workspaces (#4280)

Cannot crud someone else's workspace
This commit is contained in:
Steven Masley
2022-10-02 18:54:57 -04:00
committed by GitHub
parent 3ab8d57630
commit 4919975f13

View File

@ -111,7 +111,7 @@ var (
ResourceTemplate: {ActionCreate, ActionRead, ActionUpdate, ActionDelete},
// CRUD all files, even those they did not upload.
ResourceFile: {ActionCreate, ActionRead, ActionUpdate, ActionDelete},
ResourceWorkspace: {ActionCreate, ActionRead, ActionUpdate, ActionDelete},
ResourceWorkspace: {ActionRead},
// CRUD to provisioner daemons for now.
ResourceProvisionerDaemon: {ActionCreate, ActionRead, ActionUpdate, ActionDelete},
}),