Skip to content

Commit

Permalink
FIX: Space host have access to action menu of analytics page - EXO-75352
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrout authored Dec 10, 2024
2 parents d79c383 + e96e9c7 commit 3481b19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3481b19

Please sign in to comment.