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

Unable to login as admin after trying to login with an unauthorized user


    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Duplicate
    • Affects Version/s: 1.6.2, 1.7.0-rc1
    • Fix Version/s: QA tracked issues
    • Labels:
    • Environment:

      Operating System: Debian 8
      PHP Version: 5.6.14-0+deb8u1
      Database and version: Mysql 5.5.46-0+deb8u1
      Browser (and version): Firefox 49
      Env: Prod


      This description leads to two different errors, but i'll join them as one issue because they might have the same root.

      Method1 - Trying to login using an unauthorized "guest" user
      -Create a guest user - user1
      -try to login in admin interface using the guest user (user1)
      -We are unable to do so, because of a "401 - unauthorized" - ok, this is expected
      -Right after, try to login as admin

      Here we have an infinite spinning wheel and in the browser developer tools the error

      TypeError: this.get(...).one(...) is null[Learn More]  _ezcombo:717:37

      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

      :"Internal Server Error","errorDescription":"User 'user1' doesn't have user\/login permission to SiteAccess

      In both cases, if we clear browser caches, we are again able to login as admin.

      As said in the beginning of description, I opted to open only one issue, but if the root cause is different, please do say so that i'll separate this issue in two.


        Nicolas Bastien (Inactive) added a comment - This has been cut in two issue https://jira.ez.no/browse/EZP-26795 https://jira.ez.no/browse/EZP-26794


          • Assignee:
            Paulo Nunes (Inactive)
          • Votes:
            0 Vote for this issue
            3 Start watching this issue


            • Created: