Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-26794

Unable to login as admin after trying to login with an user which group as no role

    Details

      Description

      Method2 - Trying to login using a user whose user group has no assigned role
      -Create a user group - Group1
      -Under Group1, create a user - user1
      (don't assign any role to Group1)
      -Try to login in admin interface using the user1
      -We are unable to do so, because of a "401 - unauthorized" - ok once again
      -Right after, try to login as admin

      Here we have a 500 - Fatal Error

      {"ErrorMessage":{"_media-type":"application\/vnd.ez.api.ErrorMessage+json","errorCode":500,"errorMessage"
      :"Internal Server Error","errorDescription":"User 'user1' doesn't have user\/login permission to SiteAccess
       'site'"}}
      

      *More details*

      This is a server firewall error. I you try to refresh the page you get the same error.

        Issue Links

          Activity

          Hide
          Nicolas Bastien (Inactive) added a comment -

          QA : composer require ezsystems/ezpublish-kernel:dev-EZP-26794-unable-to-login

          Show
          Nicolas Bastien (Inactive) added a comment - QA : composer require ezsystems/ezpublish-kernel:dev- EZP-26794 -unable-to-login
          Hide
          Nicolas Bastien (Inactive) added a comment -

          bug fix ready for QA

          Show
          Nicolas Bastien (Inactive) added a comment - bug fix ready for QA
          Hide
          Rui Silva (Inactive) added a comment -

          Tested with tc-3247 for master.

          Show
          Rui Silva (Inactive) added a comment - Tested with tc-3247 for master.
          Hide
          Rui Silva (Inactive) added a comment -

          PR tested and approved by QA for master.
          Sending back to dev-needed so that PR can be merged.
          Please close issue after PR has been merged.

          Show
          Rui Silva (Inactive) added a comment - PR tested and approved by QA for master. Sending back to dev-needed so that PR can be merged. Please close issue after PR has been merged.
          Hide
          Paulo Nunes (Inactive) added a comment -

          Reopening because the issue still seems to be present

          Show
          Paulo Nunes (Inactive) added a comment - Reopening because the issue still seems to be present
          Hide
          André Rømcke added a comment - - edited

          Additonal fix merged (6.7 and up): https://github.com/ezsystems/ezpublish-kernel/pull/1994

          QA: Be aware previous fix has been in a few releases, so per definition a new issue should have been created here. /cc Kamil Madejski

          Show
          André Rømcke added a comment - - edited Additonal fix merged (6.7 and up): https://github.com/ezsystems/ezpublish-kernel/pull/1994 QA: Be aware previous fix has been in a few releases, so per definition a new issue should have been created here. /cc Kamil Madejski
          Hide
          Paulo Nunes (Inactive) added a comment -

          QA Approved.

          Show
          Paulo Nunes (Inactive) added a comment - QA Approved.

            People

            • Assignee:
              Unassigned
              Reporter:
              Nicolas Bastien (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: