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

    I'm having a problem on Revo 2.2.5, running on MODx Cloud.

    I am trying to create a password protected area that contains a few pages.

    What i did:
    I created a resource group "passProtect"
    I created an user group with the same name
    I linked the user group to the resource group with an access policy of "Resource", minimum role of Member, in the Web context.
    I created an user in the passProtect Group and assigned it the role of member.
    I placed the login snippet on the login page and gave it a parameter to redirect to a protected page after login.

    It all works fine when i try and log in from the login page with the user i created, i can access the protected pages just fine.
    However, if i try to access the protected pages while not logged in, i get sent to the 404 Error page, instead of being sent to the Unauthorized page, which i have configured to be the same as the login page.

    Why is this happening, why doesn't an anonymous user get redirected to the Unauthorize page?
      • 3749
      • 24,544 Posts
      http://bobsguides.com/revolution-permissions.html

      See the section toward the end on "Unauthorized versus Error Page"
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting