mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
feat: add workspace sharing page (#19107)
This commit is contained in:
@@ -276,7 +276,9 @@ func (w WorkspaceTable) RBACObject() rbac.Object {
|
||||
|
||||
return rbac.ResourceWorkspace.WithID(w.ID).
|
||||
InOrg(w.OrganizationID).
|
||||
WithOwner(w.OwnerID.String())
|
||||
WithOwner(w.OwnerID.String()).
|
||||
WithGroupACL(w.GroupACL.RBACACL()).
|
||||
WithACLUserList(w.UserACL.RBACACL())
|
||||
}
|
||||
|
||||
func (w WorkspaceTable) DormantRBAC() rbac.Object {
|
||||
|
||||
Reference in New Issue
Block a user