Uploaded image for project: 'PUBLIC - Liferay Social Office Community Edition'
  1. PUBLIC - Liferay Social Office Community Edition
  2. SOS-2383

Non admins in mobile view shouldn't see pencil icon if they don't have page control permissions


    • Fix Priority:
    • Device Type:
      Tablet, Smartphone


      In mobile view, the userbar pencil icon should not appear if a user does not have permissions to use any of the page control permissions in that menu.

      Steps to reproduce:

      1. Resize the browser or view on a mobile device
      2. Click on the pencil icon as an admin and assert that Add, Edit, and Edit Controls appears in the dropdown.
      3. Add a regular user with the SO role and login as that user
      4. Click on the pencil icon as regular user and assert that nothing displays and the button doesn't appear to do anything.

      Expected Results:
      A regular user should not be able to click or see the pencil icon if he doesn't have permissions to see or use any of the options in that menu.

      Actual results:
      A regular user can click on the pencil icon, but since he does not have permissions, the dropdown has no options and is invisible, making it seem like the pencil icon is a broken or nonfunctional button to the user.


          Issue Links



              • Votes:
                0 Vote for this issue
                0 Start watching this issue


                • Created:
                  Days since last comment:
                  5 years, 39 weeks ago


                  Version Package
                  3.X EE
                  3.X CE