mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
chore: remove rbac psuedo resources, add custom verbs (#13276)
Removes our pseudo rbac resources like `WorkspaceApplicationConnect` in favor of additional verbs like `ssh`. This is to make more intuitive permissions for building custom roles. The source of truth is now `policy.go`
This commit is contained in:
@ -59,7 +59,7 @@ func TestCheckACLPermissions(t *testing.T) {
|
||||
ResourceType: codersdk.ResourceTemplate,
|
||||
ResourceID: template.ID.String(),
|
||||
},
|
||||
Action: "write",
|
||||
Action: codersdk.ActionUpdate,
|
||||
},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user