mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
Adding the removal from the access intelligence routing canActivate (#17216)
This commit is contained in:
@@ -9,9 +9,7 @@ const routes: Routes = [
|
|||||||
{ path: "", pathMatch: "full", redirectTo: "risk-insights" },
|
{ path: "", pathMatch: "full", redirectTo: "risk-insights" },
|
||||||
{
|
{
|
||||||
path: "risk-insights",
|
path: "risk-insights",
|
||||||
canActivate: [
|
canActivate: [organizationPermissionsGuard((org) => org.canAccessReports)],
|
||||||
organizationPermissionsGuard((org) => org.useRiskInsights && org.canAccessReports),
|
|
||||||
],
|
|
||||||
component: RiskInsightsComponent,
|
component: RiskInsightsComponent,
|
||||||
data: {
|
data: {
|
||||||
titleId: "RiskInsights",
|
titleId: "RiskInsights",
|
||||||
|
|||||||
Reference in New Issue
Block a user