mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
feat: RBAC provisionerdaemons and parameters (#1755)
* chore: Remove org_id from provisionerdaemons
This commit is contained in:
@ -68,6 +68,8 @@ var (
|
||||
// All users can read all other users and know they exist.
|
||||
ResourceUser: {ActionRead},
|
||||
ResourceRoleAssignment: {ActionRead},
|
||||
// All users can see the provisioner daemons.
|
||||
ResourceProvisionerDaemon: {ActionRead},
|
||||
}),
|
||||
User: permissions(map[Object][]Action{
|
||||
ResourceWildcard: {WildcardSymbol},
|
||||
|
@ -34,6 +34,10 @@ var (
|
||||
Type: "file",
|
||||
}
|
||||
|
||||
ResourceProvisionerDaemon = Object{
|
||||
Type: "provisioner_daemon",
|
||||
}
|
||||
|
||||
// ResourceOrganization CRUD. Has an org owner on all but 'create'.
|
||||
// create/delete = make or delete organizations
|
||||
// read = view org information (Can add user owner for read)
|
||||
|
Reference in New Issue
Block a user