We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17499 ☆ A M B ☆
    • 872 Posts
    I thought that i had a good understanding of the Revolution permission system but i’m stucked again.

    I’ve protected some documents and want the user who try to access it to view the 403 page instead of the 404.

    I’ve assigned to the anonymous user group a Resource Group Access with:
    ’Resource group:My resource group name’, Role:9999’, ’Acess Policy:load Only’, ’my_context’

    and Context access:
    ’Context:my_context’, ’Minimum:9999’, ’Access Policy:Load Only’

    But users are still redirected to the 404 page.

    I’ve read the documentation and Bob’s page several times...

    Any idea what i’m doing wrong ?
      • 3749
      • 24,544 Posts
      The stuff on my site may only work if you just have the web context. What you’re seeing might be just a bug in the implementation of contexts rather than your error. Or there may be some context setup steps you’ve missed (but I doubt it).

      The users are truly anonymous (not logged in at all), right?
        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
        • 17499 ☆ A M B ☆
        • 872 Posts
        I’ve checked the username and role with the API and a basic test snippet.
        The user return (anonymous) and no role if not logged in.
          • 3749
          • 24,544 Posts
          Quote from: lossendae at Jan 10, 2011, 12:09 PM

          I’ve checked the username and role with the API and a basic test snippet.
          The user return (anonymous) and no role if not logged in.

          I suggest that you report it as a context-related bug.
            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
            • 17499 ☆ A M B ☆
            • 872 Posts
            Quote from: BobRay at Jan 10, 2011, 12:21 PM

            I suggest that you report it as a context-related bug.

            I will do that, thanks for your answer.
              • 31104
              • 108 Posts
              Hi guys, I’ve pretty much followed every single link I could find concerning permissions in modx revo and I’ve already read a few hours of documentation, (bob’s page, shawn’s video, etc.) they’re all great resources and I really appreciate all the help and the time invested to explain modx permissions better.

              I’ve already been able to set up a user and assign him a group with certain permissions. But have one question left (and I cross my fingers hoping it has a simple answer XD).

              How would I just allow a user to access the gallery component? I don’t want him to see anything else and just be able to add pictures to the gallery.

              I this possible?

              Thanks in advance.