6.1.X EE, 6.2.X EE, 7.0.0 M4
- Create a Liferay portlet and modify the liferay-portlet.xml to include:
- Startup Liferay and login as admin user
- Deploy the portlet created in step 1
- Navigate to Admin > Pages > Private Pages tab
- Add a page to 'Private Pages'
- Select the page, click 'Permissions' and check the 'Customize' permission for the Power User role
- On the side menu to the right, click 'Customization Settings' for the created page and set 'column-2' as customizable
- View the newly created private page Note: Be sure to view the default page (set in the dockbar at the top of the page)
- Add the created portlet to the column-2 (set as customizable in step 7)
- From Control Panel add a new user and add the Liferay site
- Login as newly created user. Navigate to Liferay Private Pages Note: For this step do not view the default page
- At this point you should see the custom Liferay portlet in column-2. Click the gear icon, and you should see the 'Look and Feel', 'Customize' and 'Remove' buttons.
Expected Results: The 'Customize' button should not appear when the user clicks the gear icon for the portlet. This is because the user does not have permissions to customize the portlet.
Actual Results: The 'Customize' button and 'Look and Feel' buttons appear when the user clicks the gear icon for the portlet.
LPE-13335 Users without permission can change some portlet's Look and Feel