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

User is not redirected to friendly URL set in layout.friendly.url.page.not.found when accessing a page they do not have permissions to view

    Details

      Description

      Steps to Reproduce:
      1. Start up DXP 7.0 with the following portal property set:

      layout.friendly.url.page.not.found=/web/testsite/404-error
      

      3. Create a new user
      4. Create a new site testsite
      5. Create 2 new site pages - 404-error and my test page
      6. For my test page edit the page permissions so that only the Owner has view permission
      7. Login with user created in step 3 and try to access localhost:8080/web/testsite/my-test-page

      Expected Behavior: User is redirected to the 404-error page
      Actual Behavior: User is redirected to home page /web/guest/home

        Attachments

          Activity

            People

            Assignee:
            sharry.shi Sharry Shi
            Reporter:
            jonathan.mccann Jonathan McCann
            Participants of an Issue:
            Recent user:
            Clarissa Velazquez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.0.0 DXP FP70
                7.0.X
                7.1.10 DXP FP7
                7.1.10.2 SP2
                7.1.3 CE GA4
                7.1.X
                Master