From d1395e37fd8b25c8f0093b73e521a23107aad95d Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 17 Jul 2018 15:57:04 -0400 Subject: [PATCH] only owner can access org settings --- jslib | 2 +- src/app/app-routing.module.ts | 2 +- src/app/layouts/organization-layout.component.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jslib b/jslib index 1cb3447bdd..3354f0b818 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 1cb3447bdd3531d08eb77a8b7a0ad65124428a09 +Subproject commit 3354f0b8180c319b4ae72c062874e9f8f5a1fe61 diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 7872bb4023..5c158b3c6a 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -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' } }, diff --git a/src/app/layouts/organization-layout.component.html b/src/app/layouts/organization-layout.component.html index 38222c574f..52dca14351 100644 --- a/src/app/layouts/organization-layout.component.html +++ b/src/app/layouts/organization-layout.component.html @@ -27,7 +27,7 @@ {{'tools' | i18n}} -