mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
chore: add provisioner key crud apis (#13857)
This commit is contained in:
@ -212,6 +212,12 @@ func (p ProvisionerDaemon) RBACObject() rbac.Object {
|
||||
return rbac.ResourceProvisionerDaemon.WithID(p.ID)
|
||||
}
|
||||
|
||||
func (p ProvisionerKey) RBACObject() rbac.Object {
|
||||
return rbac.ResourceProvisionerKeys.
|
||||
WithID(p.ID).
|
||||
InOrg(p.OrganizationID)
|
||||
}
|
||||
|
||||
func (w WorkspaceProxy) RBACObject() rbac.Object {
|
||||
return rbac.ResourceWorkspaceProxy.
|
||||
WithID(w.ID)
|
||||
|
Reference in New Issue
Block a user