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

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy