From f240151a97ec907f62d39d66c6d6ff00ad4ff92a Mon Sep 17 00:00:00 2001 From: erickgonzalez Date: Tue, 13 Aug 2024 17:35:14 -0600 Subject: [PATCH] #28366 include in 23.01.22 LTS --- .../portlet/ext/contentlet/edit_permissions_tab_inc_wrapper.jsp | 1 + hotfix_tracking.md | 1 + 2 files changed, 2 insertions(+) diff --git a/dotCMS/src/main/webapp/html/portlet/ext/contentlet/edit_permissions_tab_inc_wrapper.jsp b/dotCMS/src/main/webapp/html/portlet/ext/contentlet/edit_permissions_tab_inc_wrapper.jsp index 0bf35b929338..32dafc58074e 100644 --- a/dotCMS/src/main/webapp/html/portlet/ext/contentlet/edit_permissions_tab_inc_wrapper.jsp +++ b/dotCMS/src/main/webapp/html/portlet/ext/contentlet/edit_permissions_tab_inc_wrapper.jsp @@ -13,6 +13,7 @@ This jsp gets called in the edit content screen (edit_content_js_inc.jsp) to pai <% Contentlet contentlet = APILocator.getContentletAPI().findContentletByIdentifier(id, false, lang, user, false);%> <%if(contentlet !=null && UtilMethods.isSet(contentlet.getIdentifier())){ %> <% request.setAttribute(com.dotmarketing.util.WebKeys.PERMISSIONABLE_EDIT, contentlet);%> + <% request.setAttribute(com.dotmarketing.util.WebKeys.CONTENTLET_EDIT, contentlet);%> <% APILocator.getPermissionAPI().checkPermission(contentlet, PermissionLevel.EDIT_PERMISSIONS, user);%> <%@ include file="/html/portlet/ext/common/edit_permissions_tab_inc.jsp" %> diff --git a/hotfix_tracking.md b/hotfix_tracking.md index db3cbd4bed24..b3f4301a7b92 100644 --- a/hotfix_tracking.md +++ b/hotfix_tracking.md @@ -286,3 +286,4 @@ This maintenance release includes the following code fixes: 218. https://github.com/dotCMS/core/issues/28163 : alive' and 'startup' healthcheck APIs return 503 on seemingly healthy app #28163 219. https://github.com/dotCMS/core/issues/26546 : Enable better logging for getPageByPath in HTMLPageAssetAPIImpl.java #26546 +220. https://github.com/dotCMS/core/issues/28366 : Uploaded images in another language than the default one do not inherit permissions #28366