Skip to content

Commit

Permalink
fix: rename new permission to manager instead of admin
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannemarik committed Aug 24, 2023
1 parent 099015e commit ff408e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/common/src/sites/_internal/SiteBusinessRules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const SitePermissions = [
"hub:site:workspace:metrics",
"hub:site:workspace:followers",
"hub:site:workspace:followers:member",
"hub:site:workspace:followers:admin",
"hub:site:workspace:followers:manager",
] as const;

/**
Expand Down Expand Up @@ -126,7 +126,7 @@ export const SitesPermissionPolicies: IPermissionPolicy[] = [
],
},
{
permission: "hub:site:workspace:followers:admin",
permission: "hub:site:workspace:followers:manager",
dependencies: ["hub:site:workspace:followers"],
assertions: [
{
Expand Down

0 comments on commit ff408e2

Please sign in to comment.