Skip to content

Commit

Permalink
fix(server): fix operator.Workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
rot1024 committed Oct 28, 2023
1 parent 30170f2 commit f76b626
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions account/accountusecase/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ func (o *Operator) Workspaces(r workspace.Role) accountdomain.WorkspaceIDList {
if r == workspace.RoleWriter {
return o.WritableWorkspaces
}
if r == workspace.RoleMaintainer {
return o.MaintainableWorkspaces
}
if r == workspace.RoleOwner {
return o.OwningWorkspaces
}
Expand Down

0 comments on commit f76b626

Please sign in to comment.