Skip to content

Commit 32dc903

Browse files
fix: allow viewOrgRoles for custom roles page (cherry-pick #16722) (#16789)
Cherry-picked fix: allow viewOrgRoles for custom roles page (#16722) Users with viewOrgRoles should be able to see customs roles page as this matches the left sidebar permissions. Co-authored-by: Jaayden Halko <jaayden.halko@gmail.com>
1 parent 7381f9a commit 32dc903

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

site/src/pages/OrganizationSettingsPage/CustomRolesPage/CustomRolesPage.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ export const CustomRolesPage: FC = () => {
5757
<RequirePermission
5858
isFeatureVisible={
5959
organizationPermissions.assignOrgRoles ||
60-
organizationPermissions.createOrgRoles
60+
organizationPermissions.createOrgRoles ||
61+
organizationPermissions.viewOrgRoles
6162
}
6263
>
6364
<Helmet>

0 commit comments

Comments
 (0)