diff --git a/analytics-webapps/src/main/java/io/meeds/analytics/portlet/AbstractAnalyticsPortlet.java b/analytics-webapps/src/main/java/io/meeds/analytics/portlet/AbstractAnalyticsPortlet.java index 4504b3f1f..0a957d51a 100644 --- a/analytics-webapps/src/main/java/io/meeds/analytics/portlet/AbstractAnalyticsPortlet.java +++ b/analytics-webapps/src/main/java/io/meeds/analytics/portlet/AbstractAnalyticsPortlet.java @@ -256,7 +256,7 @@ protected boolean canModifySettings(PortletRequest request) { } Space space = SpaceUtils.getSpaceByContext(); if (space != null) { - boolean canModify = getSpaceService().canManageSpace(space, userId); + boolean canModify = getSpaceService().canManageSpaceLayout(space, userId); return cacheChartModificationAccessPermission(portletSession, canModify); } return cacheChartModificationAccessPermission(portletSession, false);