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

Mentioning a user from a page they cannot access results in a broken link

    Details

      Description

      Steps to reproduce

      1. Start a clean bundle
      2. Login as admin
      3. Go to [Global site > Web Content]
      4. Create any random Basic Web Content
      5. Go to [CP > Sites > Site Template]
      6. Create a new template
      7. Add an Asset Publisher to the page and configure it to:
        • Asset Selection > Scope: Global
        • Display Settings > ENABLE > Comments: ON
      8. Go to [CP > Users and Organizations]
      9. Create 2 users (user1 and user2)
      10. For each user, in Profile and Dashboard, set the created template for Dashboard
      11. Login as user1
      12. Go to [User icon > My Dashboard]
      13. Add a new comment to the web content and mention @user2
      14. Login as user2
      15. Note there is 1 notification
      16. Go to [User icon > Notifications]
      17. Click on the notification

      Actual results
      Page is not found.
      From the URL note that it is trying to access the dashboard of User1 (which is private)

      Expected results
      System does not allow to mention users if they could not access the page.

        Attachments

          Activity

            People

            Assignee:
            beck.liu Beck Liu
            Reporter:
            roberto.diaz Roberto Díaz
            Participants of an Issue:
            Recent user:
            Beck Liu
            Engineering Assignee:
            To To Trinh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              5 days ago

                Packages

                Version Package
                Master