Skip to content

Commit

Permalink
feat: collaborator pane for content workspace (#1259)
Browse files Browse the repository at this point in the history
  • Loading branch information
abp6318 authored Oct 5, 2023
1 parent ca9a231 commit e00e624
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/common/src/content/_internal/ContentBusinessRules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const ContentPermissions = [
"hub:content:workspace:details",
"hub:content:workspace:discussion",
"hub:content:workspace:settings",
"hub:content:workspace:collaborators",
"hub:content:manage",
] as const;

Expand Down Expand Up @@ -77,6 +78,10 @@ export const ContentPermissionPolicies: IPermissionPolicy[] = [
dependencies: ["hub:content:edit"],
entityOwner: true,
},
{
permission: "hub:content:workspace:collaborators",
dependencies: ["hub:content:edit"],
},
{
permission: "hub:content:manage",
dependencies: ["hub:content:edit"],
Expand Down

0 comments on commit e00e624

Please sign in to comment.