1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

only owner can access org settings

This commit is contained in:
Kyle Spearrin
2018-07-17 15:57:04 -04:00
parent 06de7b5176
commit d1395e37fd
3 changed files with 3 additions and 3 deletions

View File

@@ -184,7 +184,7 @@ const routes: Routes = [
path: 'settings',
component: OrgSettingsComponent,
canActivate: [OrganizationTypeGuardService],
data: { allowedTypes: [OrganizationUserType.Owner, OrganizationUserType.Admin] },
data: { allowedTypes: [OrganizationUserType.Owner] },
children: [
{ path: '', pathMatch: 'full', redirectTo: 'account' },
{ path: 'account', component: OrgAccountComponent, data: { titleId: 'myOrganization' } },