My goodness... this is damn complicating.
Looks like I cannot isolate backend and frontend login from one another. Is that right? It's not possible to have a user that has administrative rights in the backend but gets treated like a guest in the frontend when not logged in there explicitly, right?
Thing is, I've got two resources which are treated differently for being a guest and being an authenticated user:
- Contact Info
- Team Leader Area
First one should be visible to guests only, second one to "Team Leaders" only. "Team Leader" is defined as a role. Vice versa, first one should be hidden from all logged in users, second one should be hidden from guests and users with a lower role than "Team Leader".
I've got some user groups with given users:
- (anonymous)
- Administrators
- Club Members
Administrator:
Club Members:
- SeveQ (Team Leader - 7777)
- Another User
With "SeveQ" being logged in to the manager, "SeveQ" can also see resources in the frontend that are for "Team Leaders" only. Regarless of being logged in to the frontend.
But "SeveQ" wants to be treated like a
guest in the frontend
even though he is logged in to the manager. He must not see "Team Leader" resources unless he also logs in
to the frontend.
Is that possible at all? Or doesn't modX provide distinct treatment of manager and frontend logins with the same user and the same browser?