From 668271bb3126dfe1d483bf2b39c8b4b71c85522d Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 17 Oct 2018 10:53:04 -0400 Subject: [PATCH] add basic org manager access and UI elements --- jslib | 2 +- src/app/app-routing.module.ts | 8 +++++++- src/app/layouts/organization-layout.component.html | 4 ++-- .../organizations/manage/entity-users.component.html | 1 + src/app/organizations/manage/manage.component.html | 6 +++--- src/app/organizations/manage/manage.component.ts | 9 ++++++--- src/app/organizations/manage/people.component.html | 1 + src/app/organizations/manage/people.component.ts | 11 +++++++++-- .../organizations/manage/user-add-edit.component.html | 7 +++++++ src/locales/en/messages.json | 10 ++++++++-- 10 files changed, 45 insertions(+), 14 deletions(-) diff --git a/jslib b/jslib index 2f6426deb4..00efae2616 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 2f6426deb470b71838b51c52587929ac64d428bf +Subproject commit 00efae261684eb97e7fcd8fd77aa04bca5e87a72 diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index e5d37e596c..4f90d5196e 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -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' } }, diff --git a/src/app/layouts/organization-layout.component.html b/src/app/layouts/organization-layout.component.html index 7e4c35ce17..e3863a42ff 100644 --- a/src/app/layouts/organization-layout.component.html +++ b/src/app/layouts/organization-layout.component.html @@ -14,7 +14,7 @@ -