From 53dd0a83867ab8ec00f3b467798b56ee90649717 Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Wed, 13 Nov 2024 17:42:15 +0100 Subject: [PATCH] feat: Include Hidden spaces for Space Template Managers when listing - MEED-7771 - Meeds-io/MIPs#160 (#255) Prior to this change, the spaces listing wasn't proposing the hidden spaces for Space Template identified Masters. This change will use a specific Filter on Suggester component to allow listing managing and hidden spaces as well. --- .../components/manage-permissions/ManageAccessPermission.vue | 2 +- .../components/manage-permissions/ManageEditPermission.vue | 2 +- .../components/toolbar/actions/PageSpacePreviewButton.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layout-webapp/src/main/webapp/vue-app/common-layout-components/components/manage-permissions/ManageAccessPermission.vue b/layout-webapp/src/main/webapp/vue-app/common-layout-components/components/manage-permissions/ManageAccessPermission.vue index 0db931db7..68269a3bb 100644 --- a/layout-webapp/src/main/webapp/vue-app/common-layout-components/components/manage-permissions/ManageAccessPermission.vue +++ b/layout-webapp/src/main/webapp/vue-app/common-layout-components/components/manage-permissions/ManageAccessPermission.vue @@ -79,7 +79,7 @@ export default { allGroupsForAdmin: true, groupType: 'GROUP', userGroup: '/platform/users', - searchOptions: {filterType: eXo.env.portal.isAdministrator && 'all' || 'member'}, + searchOptions: {filterType: eXo.env.portal.isAdministrator && 'all' || 'accessible'}, loading: false, navigationNode: null, accessPermission: null diff --git a/layout-webapp/src/main/webapp/vue-app/common-layout-components/components/manage-permissions/ManageEditPermission.vue b/layout-webapp/src/main/webapp/vue-app/common-layout-components/components/manage-permissions/ManageEditPermission.vue index 88bbb2efb..c6ee5c51d 100644 --- a/layout-webapp/src/main/webapp/vue-app/common-layout-components/components/manage-permissions/ManageEditPermission.vue +++ b/layout-webapp/src/main/webapp/vue-app/common-layout-components/components/manage-permissions/ManageEditPermission.vue @@ -63,7 +63,7 @@ export default { allGroupsForAdmin: true, groupType: 'GROUP', userGroup: '/platform/users', - searchOptions: {filterType: eXo.env.portal.isAdministrator && 'all' || 'member'}, + searchOptions: {filterType: eXo.env.portal.isAdministrator && 'all' || 'accessible'}, }), computed: { suggesterLabels() { diff --git a/layout-webapp/src/main/webapp/vue-app/layout-editor/components/toolbar/actions/PageSpacePreviewButton.vue b/layout-webapp/src/main/webapp/vue-app/layout-editor/components/toolbar/actions/PageSpacePreviewButton.vue index 2847fc6c8..b5aa0e871 100644 --- a/layout-webapp/src/main/webapp/vue-app/layout-editor/components/toolbar/actions/PageSpacePreviewButton.vue +++ b/layout-webapp/src/main/webapp/vue-app/layout-editor/components/toolbar/actions/PageSpacePreviewButton.vue @@ -75,7 +75,7 @@ export default { saving: false, space: null, searchOptions: { - filterType: 'member' + filterType: 'accessible', }, }), computed: {