We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4579
    • 10 Posts
    Running 2.2.1-pl (traditional) I'm trying to add extra users for manager access and failing miserably.

    My original user can login just fine, but my second user simply gets redirected back to the login screen. The puzzling thing is there are no errors - no "incorrect username/password" messages. Nothing in the server log, nothing in ModX's error log... nothing. Just back to the login prompt.

    I wondered if it was because I had messed something up with the permissions etc. so I put the user in Administrators/Super User to have the same perms as my login just for testing and still it happens. I've flushed cache and sessions, tried finding signs of any kind of error, and I'm stumped. Any tips are greatly welcome.
      • 38723
      • 165 Posts
      Is the new user in the same group as the administrator?

      If not, did you remember to add "mgr" context access to the new user's usergroup? I *always* forget to do that!
        • 4579
        • 10 Posts
        I originally had them in an Editor user group with an Editor role assigned for web and mgr but no luck so I assumed I'd messed up and put them in Administrator user group and set them to Super User role.

        Something I forgot to mention earlier is that the user is showing as having logged in. If I go to the User page in my manager they show as having logged in multiple times, but they presumably get logged out again instantly and before they can see the manager.
          • 38723
          • 165 Posts
          If no errors appear on the login screen, the only time I've encountered this is with either context access not set up properly, or with a permission/role setup problem where the user has permission to log in (thus the reason you can see in access logs) but no permission to view manager (which is why it redirects to the login screen).

          Have you followed this tutorial? http://bobsguides.com/creating-manager-users.html
            • 4579
            • 10 Posts
            Aah no, I used the much briefer one here: http://rtfm.modx.com/display/revolution20/Giving+a+User+Manager+Access I'll give it a try, thanks
              • 4579
              • 10 Posts
              Okay, busy day yesterday so just tried and still no joy. They're basically the same advice but the longer one is more detailed so I felt a bit happier I hadn't missed anything, but basically no go. Thanks for trying, any other advice is welcome.