PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-32448

Hide links to My Account in Dockbar and Login Portlet, when the user has not permission to access to My Account.

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Similar Issues:
      Show 5 results 

      Description

      When you remove permissions to access to the portlet My account from Role User, the links in dockbar and login-portlet are displayed although the user has not permission.

      Steps to reproduce:

      1. Configure My account portlet with <add-default-resource>false</add-default-resource> in liferay-portlet.xml in order to prevent a dynamic adition to a page.
      2. Starts the server, Login with admin, and go to Control Panel -> Roles -> and define permissions for role "User", remove all the permission.
      3. Login with a basic-user.

      Results: Login portlet and Dockbar shows the link to My Account although the user is not allowed to access.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 23 weeks, 1 day ago

                Development

                  Structure Helper Panel