Skip to content

Loading…

LPS-25241 - caused by LPS-25065 which should be bypassed for system portlets #4132

Closed
wants to merge 1 commit into from

2 participants

@mhan810

No description provided.

@brianchandotcom

Merged. Thank you.

Original commits: 2ff818e..662a2d7

@brianchandotcom

Merged. Thank you.

Original commits: 662a2d7

@brianchandotcom

Merged. Thank you.

Original commits: 2ff818e..662a2d7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
View
4 portal-impl/src/com/liferay/portal/service/permission/PortletPermissionImpl.java
@@ -422,6 +422,10 @@ public boolean hasAccessPermission(
Layout layout, Portlet portlet, PortletMode portletMode)
throws PortalException, SystemException {
+ if (portlet.isSystem()) {
+ return true;
+ }
+
String portletId = portlet.getPortletId();
if ((layout != null) && layout.isTypeControlPanel()) {
Something went wrong with that request. Please try again.