mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: RBAC provisionerdaemons and parameters (#1755)
* chore: Remove org_id from provisionerdaemons
This commit is contained in:
@@ -22,3 +22,7 @@ func (m OrganizationMember) RBACObject() rbac.Object {
|
||||
func (o Organization) RBACObject() rbac.Object {
|
||||
return rbac.ResourceOrganization.InOrg(o.ID).WithID(o.ID.String())
|
||||
}
|
||||
|
||||
func (d ProvisionerDaemon) RBACObject() rbac.Object {
|
||||
return rbac.ResourceProvisionerDaemon.WithID(d.ID.String())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user