From 3bc812a7e2fd94a4ca6b4f0669f191ae956f66ac Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Sat, 21 Sep 2024 10:00:49 +0100 Subject: [PATCH] feat: Allow Layout Edit Button To administrators only - MEED-7509 - Meeds-io/MIPs#147 (#220) This change will just hide the button of Layout edition from Top Bar, so that only super administrators will be able to access it. This will avoid space manager to access this feature by UI until a rework is made on permissions model to let Platform administrators choose who will be able to access this feature and button. Besides, improving the permissions model means that the Portal MOP permission (portal layer) has to be delegated to SpaceService (social) layer which will be improved in a dedicated MIP (Space Templates). --- .../conf/layout/dynamic-container-configuration.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/layout-webapp/src/main/webapp/WEB-INF/conf/layout/dynamic-container-configuration.xml b/layout-webapp/src/main/webapp/WEB-INF/conf/layout/dynamic-container-configuration.xml index a7f82ba15..a7f27744a 100644 --- a/layout-webapp/src/main/webapp/WEB-INF/conf/layout/dynamic-container-configuration.xml +++ b/layout-webapp/src/main/webapp/WEB-INF/conf/layout/dynamic-container-configuration.xml @@ -19,7 +19,11 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. --> - + + org.exoplatform.commons.addons.AddOnService @@ -46,7 +50,7 @@ - *:/platform/users + *:/platform/administrators