Skip to content

Commit 1cb864b

Browse files
authored
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 5295902 commit 1cb864b

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)