Uploaded image for project: '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

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.saechang Michael Saechang
              Reporter:
              jose.jimenez Jose Jimenez
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                8 years, 41 weeks, 1 day ago

                  Packages

                  Version Package
                  6.1.30 EE GA3
                  6.2.0 CE M4