From 9dda5e8ee16ea537e6d892028cabad0c360619a1 Mon Sep 17 00:00:00 2001 From: Thomas Rittson <31796059+eliykat@users.noreply.github.com> Date: Thu, 2 May 2024 09:54:18 +1000 Subject: [PATCH] [AC-2170] Group modal - limit admin access - collections tab (#8758) * Update Group modal -> Collections tab to respect collection management settings, e.g. only allow admins to assign access to collections they can manage * Update collectionAdminView getters for custom permissions --- .../manage/group-add-edit.component.html | 7 +- .../manage/group-add-edit.component.ts | 203 +++++++++++------- .../vault/core/views/collection-admin.view.ts | 9 +- apps/web/src/locales/en/messages.json | 3 + 4 files changed, 140 insertions(+), 82 deletions(-) diff --git a/apps/web/src/app/admin-console/organizations/manage/group-add-edit.component.html b/apps/web/src/app/admin-console/organizations/manage/group-add-edit.component.html index 3afb816e14..5fcf7b0f42 100644 --- a/apps/web/src/app/admin-console/organizations/manage/group-add-edit.component.html +++ b/apps/web/src/app/admin-console/organizations/manage/group-add-edit.component.html @@ -50,7 +50,12 @@ -

{{ "editGroupCollectionsDesc" | i18n }}

+

+ {{ "editGroupCollectionsDesc" | i18n }} + + {{ "editGroupCollectionsRestrictionsDesc" | i18n }} + +