discuss.answer
-
- 46 Posts
Wow. Thank you so much for posting this! I was having the same problem ... now, when I added user as "sudo" user (as well as "active" user), I can finally get success on login.
Alan
--------------------------------------------------------
MODX Revolution 2.2.2-pl
-
- 24,544 Posts
If the user is in another user group (not Administrator), you need to create a Context Access ACL entry for that user group with a context of mgr and a policy that allows logging in to the Manager so the user can log in. Then the user shouldn't need to be a sudo user to log in.
You'll also have to create a Context Access ACL entry for the group with a context of 'web' so the user can see resources in the web Context after logging in.
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html
-
- 24,544 Posts
Did you flush permissions and flush all sessions (on the Security Menu) before testing? The ResourceEditor Policy should allow logging in (unless you've modified its permissions).
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html
-
- 119 Posts
It turns out that the role needed to be assigned to both the user and the user group. I had only assigned it to the user group.
You'll probably want to set a less permissive user role than super user for your content editors. The new role will likely have to be created. You'll find that there's going to be a little more work to be done with permissions unless you plan to give the content editors full access to the whole manager.
In all cases however, users must have a user group and role assigned or they won't be able to log in. It may seem a little odd that MODX doesn't automatically assign a user group and role to new users, but MODX assumes very little out of the box. There is only one user group available initially, which is Administrator. MODX assumes only that the administrator will set up user groups aside from the administrator, and it will not assign the Administrator group to new users by default because it's not safe.
-
- 119 Posts
Yeah, I was just trying to get it to work at all when I took that screen shot. I have created a role called Publisher that I'm using now that it's working.