8000 fix: allow viewOrgRoles for custom roles page (#16722) · coder/coder@b065f52 · GitHub
[go: up one dir, main page]

Skip to content

Commit b065f52

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 b7ea479 commit b065f52

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)
0