1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

add basic org manager access and UI elements

This commit is contained in:
Kyle Spearrin
2018-10-17 10:53:04 -04:00
parent 1aa93e7737
commit 668271bb31
10 changed files with 45 additions and 14 deletions

View File

@@ -174,7 +174,13 @@ const routes: Routes = [
path: 'manage',
component: OrgManageComponent,
canActivate: [OrganizationTypeGuardService],
data: { allowedTypes: [OrganizationUserType.Owner, OrganizationUserType.Admin] },
data: {
allowedTypes: [
OrganizationUserType.Owner,
OrganizationUserType.Admin,
OrganizationUserType.Manager,
]
},
children: [
{ path: '', pathMatch: 'full', redirectTo: 'people' },
{ path: 'collections', component: OrgManageCollectionsComponent, data: { titleId: 'collections' } },