Skip to content

Commit

Permalink
feat: update roles allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
fterra-encora committed Nov 18, 2024
1 parent bfcacc5 commit 749303d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions frontend/src/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,18 +205,15 @@ export const routes = [
},
},
{
path: "/clients/:clientId",
path: "/clients/:id",
name: "client-detail",
component: ClientDetailPage,
props: (route) => ({
clientId: route.params.clientId,
}),
meta: {
format: "full",
hideHeader: false,
requireAuth: true,
showLoggedIn: true,
visibleTo: ["idir"],
visibleTo: ["CLIENT_VIEWER", "CLIENT_EDITOR", "CLIENT_SUSPEND", "CLIENT_ADMIN"],
redirectTo: {
bceidbusiness: "form",
bcsc: "form",
Expand Down

0 comments on commit 749303d

Please sign in to comment.