PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-32515

Login is not possible if the view permission for guest is removed from all pages of the default site

    Details

    • Story Points:
      2
    • Fix Priority:
      4
    • Similar Issues:
      Show 5 results 

      Description

      Steps to reproduce (with a clean bundle):
      1. Log in as admin
      2. Change the guest view permission for the Welcome default page.
      3. Log out

      Result: the portal becomes unusable, nobody can login.

        Issue Links

          Activity

          Hide
          Robert Srisam-ang (Inactive) added a comment - - edited

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal master GIT ID: 8541e370e3e079f8d749ceab3dc528000fba4f85.

          Show
          Robert Srisam-ang (Inactive) added a comment - - edited Reproduced on: Tomcat 7.0 + MySQL 5. Portal master GIT ID: 8541e370e3e079f8d749ceab3dc528000fba4f85.
          Hide
          Jorge Ferrer added a comment -

          Getting started with this, trying to figure out if this should really be considered a bug.

          Show
          Jorge Ferrer added a comment - Getting started with this, trying to figure out if this should really be considered a bug.
          Hide
          Jorge Ferrer added a comment -

          Lowering the priority to 4 because this problem can only happen if the site administrator removes Guest view for the first page of the default site, which is a pretty rare scenario.

          Show
          Jorge Ferrer added a comment - Lowering the priority to 4 because this problem can only happen if the site administrator removes Guest view for the first page of the default site, which is a pretty rare scenario.
          Hide
          Jorge Ferrer added a comment -

          Updating the title after testing it further and noticing that if there is at least one page with view permission for guest, everything works.

          Show
          Jorge Ferrer added a comment - Updating the title after testing it further and noticing that if there is at least one page with view permission for guest, everything works.
          Hide
          Jorge Ferrer added a comment -

          After studying this further I think that the right solution for this issue is to prevent this mistake from the site administrator by forcing that there is at all times one page with View permissions for guests in the Default site.

          Show
          Jorge Ferrer added a comment - After studying this further I think that the right solution for this issue is to prevent this mistake from the site administrator by forcing that there is at all times one page with View permissions for guests in the Default site.
          Hide
          Jorge Ferrer added a comment -

          Those portals that already have this problem need to solve it by giving the permission back using programmatic methods.

          Show
          Jorge Ferrer added a comment - Those portals that already have this problem need to solve it by giving the permission back using programmatic methods.
          Hide
          Jorge Ferrer added a comment -

          Wow, this is proving to be quite a challenging bug.

          For the record the final solution has been to prevent removing the View permissions for the Guest role for the first page of the Guest site.

          Show
          Jorge Ferrer added a comment - Wow, this is proving to be quite a challenging bug. For the record the final solution has been to prevent removing the View permissions for the Guest role for the first page of the Guest site.
          Hide
          Yang Gao (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.

          The portal becomes unusable, nobody can login.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal master GIT ID: 8cbad49fb75d428f55e16202dcf52e4cde038bc0.

          Guesst can see the portal, user can login.

          Show
          Yang Gao (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. The portal becomes unusable, nobody can login. Fixed on: Tomcat 7.0 + MySQL 5. Portal master GIT ID: 8cbad49fb75d428f55e16202dcf52e4cde038bc0. Guesst can see the portal, user can login.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 34 weeks, 5 days ago

                Development

                  Structure Helper Panel