diff --git a/analytics-webapps/src/main/java/org/exoplatform/addon/analytics/portlet/AbstractAnalyticsPortlet.java b/analytics-webapps/src/main/java/org/exoplatform/addon/analytics/portlet/AbstractAnalyticsPortlet.java index bafc39807..1292cd16d 100644 --- a/analytics-webapps/src/main/java/org/exoplatform/addon/analytics/portlet/AbstractAnalyticsPortlet.java +++ b/analytics-webapps/src/main/java/org/exoplatform/addon/analytics/portlet/AbstractAnalyticsPortlet.java @@ -251,11 +251,6 @@ protected boolean canModifySettings(PortletRequest request) { return cacheChartModificationAccessPermission(portletSession, true); } } - Space space = SpaceUtils.getSpaceByContext(); - if (space != null) { - boolean canModify = getSpaceService().isSuperManager(userId) || getSpaceService().isManager(space, userId); - return cacheChartModificationAccessPermission(portletSession, canModify); - } return cacheChartModificationAccessPermission(portletSession, false); }