We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37625
    • 38 Posts
    Hi all,

    I'm having a strange issue with modx 2.2.0-pl2 + Login 1.8.0-pl.

    I've got 3 contexts: web, en and area-riservata

    I'm trying to set up a protected area in the context "area-riservata"

    The tree of this context is:

    - 'Home', where I have the Login snippet (with "contexts=`web,en,area-riservata`" parameter set in order to login to all my 3 contexts)
    - 'Documents' (child of Home), where users are redirected when login is succesfull

    Something strange happens: I can log in succesfully (I've done some debugging, stopping the flow and printing out user properties before the redirect happens); but as soon as I'm redirected to the protected page the current user is 'anonymous' again and I get a 404 error.

    That's what I've done so far:
    - I have created a resource group
    - I have added documents to it
    - I gave created a user group
    - I have linked the user group to the resource group through a resource group ACL: resource group: ReservedArea, role: Member - 9999, policy: Resource, context: area-riservata

    Can anyone help?

    Thanks
    alessandro [ed. note: kinazz last edited this post 11 years, 9 months ago.]