Skip to content

Commit

Permalink
feat: add permission to manage on umbrella (#1403)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbouwman authored Feb 5, 2024
1 parent 87e201a commit d438766
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/common/src/permissions/HubPermissionPolicies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ const SystemPermissionPolicies: IPermissionPolicy[] = [
availability: ["alpha"],
licenses: ["hub-premium"],
},
{
// When enabled, the edit & manage links will take the user to umbrella
permission: "hub:feature:workspace:umbrella",
availability: ["alpha"],
environments: ["qaext"],
},
];

/**
Expand Down
1 change: 1 addition & 0 deletions packages/common/src/permissions/types/Permission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const SystemPermissions = [
"hub:feature:gallery:map",
"hub:feature:user:preferences",
"hub:card:follow",
"hub:feature:workspace:umbrella",
];

const validPermissions = [
Expand Down

0 comments on commit d438766

Please sign in to comment.