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

Site Members Directory - The portlet crashes when a non-admin site member clicks on another site member's link

Details

    Description

      Steps to reproduce:

      1. With the Social Networking modules deployed, navigate to Control Panel > Users > Users and Organizations
      2. Add a new non-Administrator user, and add the user to the Liferay site.
      3. Add a new public page and add the Site Members Directory portlet.
      4. Assert that the list in Site Members show Test, and the non-admin site member
      5. Navigate to Configuration > Permissions
      6. Assert that a Site Member can view the portlet.
      7. Logout as Test, Login as non-admin site member
      8. Navigate to the created public page
      9. On the Site Members Directory, click on Test

      Expected result: Click on a user link will direct to that user's profile page.
      Actual result: Portlet crashes. console errors are present:

      18:50:17,248 ERROR [http-bio-8080-exec-3][PortletRequestDispatcherImpl:291] javax.servlet.ServletException: com.liferay.portal.security.auth.PrincipalException$MustHavePermission: User  must have VIEW permission for com.liferay.portal.model.User
      javax.servlet.ServletException: com.liferay.portal.security.auth.PrincipalException$MustHavePermission: User  must have VIEW permission for com.liferay.portal.model.User

      Attachments

        Activity

          People

            support-lep@liferay.com SE Support
            nikki.prudencio Nikki Prudencio
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              4 years, 16 weeks, 5 days ago

              Packages

                Version Package