Skip to content

Commit

Permalink
feat(hub-common): add permission to capture download errors (#1458)
Browse files Browse the repository at this point in the history
  • Loading branch information
sansth1010 authored Apr 1, 2024
1 parent f26849e commit f132be4
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 @@ -26,6 +26,7 @@ export const ContentPermissions = [
"hub:content:workspace:settings",
"hub:content:workspace:collaborators",
"hub:content:manage",
"hub:content:canRecordDownloadErrors",
] as const;

/**
Expand Down Expand Up @@ -116,4 +117,8 @@ export const ContentPermissionPolicies: IPermissionPolicy[] = [
permission: "hub:content:manage",
dependencies: ["hub:content:edit"],
},
{
permission: "hub:content:canRecordDownloadErrors",
environments: ["qaext", "devext"],
},
];

0 comments on commit f132be4

Please sign in to comment.