Example usage for com.liferay.portal.kernel.security.permission ActionKeys EXPORT_IMPORT_LAYOUTS

List of usage examples for com.liferay.portal.kernel.security.permission ActionKeys EXPORT_IMPORT_LAYOUTS

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.security.permission ActionKeys EXPORT_IMPORT_LAYOUTS.

Prototype

String EXPORT_IMPORT_LAYOUTS

To view the source code for com.liferay.portal.kernel.security.permission ActionKeys EXPORT_IMPORT_LAYOUTS.

Click Source Link

Usage

From source file:com.liferay.exportimport.web.internal.portlet.ExportImportControlPanelEntry.java

License:Open Source License

@Override
protected boolean hasAccessPermissionExplicitlyGranted(PermissionChecker permissionChecker, Group group,
        Portlet portlet) throws PortalException {

    if (GroupPermissionUtil.contains(permissionChecker, group, ActionKeys.EXPORT_IMPORT_LAYOUTS)) {

        return true;
    }//w ww .  ja  v a2 s . c o  m

    return super.hasAccessPermissionExplicitlyGranted(permissionChecker, group, portlet);
}