Skip to content

Commit a42c41d

Browse files
jaaydenhaslilac
authored andcommitted
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.
1 parent f1a242e commit a42c41d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
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)