Example usage for com.liferay.portal.kernel.service.permission PortletPermissionUtil hasConfigurationPermission

List of usage examples for com.liferay.portal.kernel.service.permission PortletPermissionUtil hasConfigurationPermission

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.service.permission PortletPermissionUtil hasConfigurationPermission.

Prototype

public static boolean hasConfigurationPermission(PermissionChecker permissionChecker, long groupId,
            Layout layout, String actionId) throws PortalException 

Source Link

Usage

From source file:com.liferay.layout.admin.web.internal.control.menu.ToggleControlsProductNavigationControlMenuEntry.java

License:Open Source License

protected boolean hasPortletConfigurationPermission(ThemeDisplay themeDisplay) throws PortalException {

    return PortletPermissionUtil.hasConfigurationPermission(themeDisplay.getPermissionChecker(),
            themeDisplay.getSiteGroupId(), themeDisplay.getLayout(), ActionKeys.CONFIGURATION);
}