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:
@@ -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' } },
|
||||
|
||||
Reference in New Issue
Block a user