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

Default site page doesn't redirect to login when default page is not allowed by guest and the site login page is hidden

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      3

      Description

      This LPS is created because LPS-34215 not covers request to default site page, using the friendlyURL of a site like localhost:8080/web/site1

      Steps to reproduce:

      1. Configure a page as site login adding to portal-ext.properties:

      auth.login.site.url=/login

      2. Create an empty Site: site1

      3. Add a public page "/home" and make it not viewable by the guest user:
      Manage -> Page: Permissions -> uncheck Guest - view, and save

      4. Add another public page "/login" , and hide it
      Manage -> Page -> Check Hidden, and save.
      Result: the page is not displayed in the navigation bar

      5. Logout, and go to localhost:8080/web/site1/login
      Result: ok, the page is accesible

      6. Logout, and go to localhost:8080/web/site1

      Result: You do not have permission to view this page.

      Expected: redirected to localhost:8080/web/site1/login

        Issue Links

          Activity

          Hide
          mark.jin Mark Jin (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 729401c09df8142e64f94a4f3b7f9aad7b01f305.

          You do not have permission to view this page.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 6954779b4de761d70a0c4566c4fc2291fcdce0e0.

          Redirected to localhost:8080/web/site1/login.

          Show
          mark.jin Mark Jin (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 729401c09df8142e64f94a4f3b7f9aad7b01f305. You do not have permission to view this page. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 6954779b4de761d70a0c4566c4fc2291fcdce0e0. Redirected to localhost:8080/web/site1/login.
          Hide
          mark.jin Mark Jin (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: cf7b77b99de766b0c662963cbfed731de847ca23.

          Redirected to localhost:8080/web/site1/login.

          Show
          mark.jin Mark Jin (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: cf7b77b99de766b0c662963cbfed731de847ca23. Redirected to localhost:8080/web/site1/login.

            People

            • Assignee:
              mark.jin Mark Jin (Inactive)
              Reporter:
              jose.jimenez Jose Jimenez
              Recent user:
              Esther Sanz
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 44 weeks, 1 day ago

                Development

                  Subcomponents