Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-53147

Portlet configuration button shows for non-admin user when preferences-unique-per-layout is false and user does not have configuration permissions for the portlet



      Steps to Reproduce:

      1. Create a Liferay portlet and modify the liferay-portlet.xml to include:
      2. Startup Liferay and login as admin user
      3. Deploy the portlet created in step 1
      4. Navigate to Admin > Pages > Private Pages tab
      5. Add a page to 'Private Pages'
      6. Select the page, click 'Permissions' and check the 'Customize' permission for the Power User role
      7. On the side menu to the right, click 'Customization Settings' for the created page and set 'column-2' as customizable
      8. View the newly created private page Note: Be sure to view the default page (set in the dockbar at the top of the page)
      9. Add the created portlet to the column-2 (set as customizable in step 7)
      10. From Control Panel add a new user and add the Liferay site
      11. Login as newly created user. Navigate to Liferay Private Pages Note: For this step do not view the default page
      12. 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.


        Issue Links



              shitian.zhang Shitian "Shelton" Zhang (Inactive)
              dustin.ryerson Dustin Ryerson (Inactive)
              Rafaela Nascimento Rafaela Nascimento
              0 Vote for this issue
              2 Start watching this issue


                8 years, 5 weeks, 2 days ago


                  Version Package
                  6.1.X EE
                  6.2.3 CE GA4
                  6.2.X EE
                  7.0.0 M4