1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-25 12:15:18 +01:00

Fix Manage SSO permissions (#1709)

This commit is contained in:
Thomas Rittson 2022-06-02 07:20:07 +10:00 committed by GitHub
parent ae3788d42b
commit d7dd2435fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,14 +22,16 @@ const routes: Routes = [
component: ManageComponent, component: ManageComponent,
canActivate: [PermissionsGuard], canActivate: [PermissionsGuard],
data: { data: {
permissions: NavigationPermissionsService.getPermissions("manage").concat( permissions: NavigationPermissionsService.getPermissions("manage"),
Permissions.ManageSso
),
}, },
children: [ children: [
{ {
path: "sso", path: "sso",
component: SsoComponent, component: SsoComponent,
canActivate: [PermissionsGuard],
data: {
permissions: [Permissions.ManageSso],
},
}, },
], ],
}, },