Skip to content

Commit

Permalink
enable role V2 feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Achintha Isuru committed Oct 25, 2023
1 parent b496a62 commit 026d62f
Show file tree
Hide file tree
Showing 34 changed files with 1,965 additions and 7,662 deletions.
12 changes: 12 additions & 0 deletions apps/console/src/features/core/configs/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1437,6 +1437,18 @@ export const getAppViewRoutes = (useExtendedRoutes: boolean = false): RouteInter
path: AppConstants.getPaths().get("ROLE_EDIT"),
protected: true,
showOnSidePanel: false
},
{
component: lazy(() => import("../../roles/pages/create-role-wizard")),
exact: true,
icon: {
icon: getSidePanelIcons().childIcon
},
id: "rolesCreate",
name: "console:manage.features.sidePanel.createRole",
path: AppConstants.getPaths().get("ROLE_CREATE"),
protected: true,
showOnSidePanel: true
}
],
component: lazy(() => import("../../roles/pages/role")),
Expand Down
1 change: 1 addition & 0 deletions apps/console/src/features/core/constants/app-constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ export class AppConstants {
[ "PRIVACY", `${ AppConstants.getMainViewBasePath() }/privacy` ],
[ "REMOTE_REPO_CONFIG", `${ AppConstants.getAdminViewBasePath() }/remote-repository-config` ],
[ "ROLES", `${ AppConstants.getAdminViewBasePath() }/roles` ],
[ "ROLE_CREATE", `${ AppConstants.getAdminViewBasePath() }/create-role` ],
[ "ROLE_EDIT", `${ AppConstants.getAdminViewBasePath() }/roles/:id` ],
[ "ROOT", "/" ],
[ "GOVERNANCE_CONNECTORS", `${AppConstants.getAdminViewBasePath()}/governance-connectors/:id` ],
Expand Down

This file was deleted.

Loading

0 comments on commit 026d62f

Please sign in to comment.