diff --git a/apps/red-ui/src/app/app-routing.module.ts b/apps/red-ui/src/app/app-routing.module.ts index e118d9941..a42c3cb55 100644 --- a/apps/red-ui/src/app/app-routing.module.ts +++ b/apps/red-ui/src/app/app-routing.module.ts @@ -162,7 +162,7 @@ const routes: IqserRoutes = [ loadChildren: () => import('./modules/search/search.module').then(m => m.SearchModule), canActivate: [CompositeRouteGuard, IqserPermissionsGuard], data: { - routeGuards: [IqserAuthGuard, RedRoleGuard], + routeGuards: [IqserAuthGuard, RedRoleGuard, DossiersGuard], permissions: { allow: [ROLES.search], redirectTo: '/auth-error',