We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27708 MODX Staff
    • 2,502 Posts
    Any chance mod_security is running on your server? Does your user group have edit_document checked?
      Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
      • 36704
      • 131 Posts
      Hi Jay,

      Thanks for giving us a time to answer our questions.
      The edit_document was checked and i got thesame problem.

      Here i provide some screenshots of my current setup.


      Please let me know if you find something is missing or wrong on my setup.

      Thanks & best regards
        • 813 ☆ A M B ☆
        • 326 Posts
        Jay, my setup looks almost identical to alyainec's screenshots -- same exact error -- so I won't post more.

        I'm on Blue Host, and they aren't running mod_security. I've had a great experience with their customer service and with running MODX with them, btw.
          • 3749
          • 24,544 Posts
          I can confirm that Bluehost (http://bit.ly/Hb5CAY ) works great with MODX.


          Do you have a Context Access ACL entry for each group that gives them access to the Context with the problem resources with a Policy that includes edit privileges?

          Are the resources also protected by being in Resource Groups? If so, you also need a Resource Group Access ACL entry for the users with a Policy of Resource.


          ------------------------------------------------------------------------------------------
          PLEASE, PLEASE specify the version of MODX you are using.
          MODX info for everyone: http://bobsguides.com/modx.html
            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
            • 27708 MODX Staff
            • 2,502 Posts
            what I am not seing is what Bob has asked about which is context access. This is definitely an ACL config issue and not likely a bug.
              Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
              • 813 ☆ A M B ☆
              • 326 Posts
              I have two Context Access ACLs for that group: one for mgr that uses your "AdminLite" approach (and edit_document is checked) from RTFM, and a second for the problem context. For the latter I've tried both Load/List/View (per your documentation) and "AdminLite". I'm flushing permissions, logging in and out with the problem user between tries, and even loading the problem user's manager via Chrome Incognito mode, and still I have the problem.

              Currently, I don't have any Resource Groups set up. I did try setting one up to see if that was the problem, but it had no effect on solving it.
                • 813 ☆ A M B ☆
                • 326 Posts
                I think this is what you're looking for?
                  • 3749
                  • 24,544 Posts
                  No, we're looking for a shot of the Context Access ACL grids for the user groups with users who are having the problem.

                  Make sure you've gotten rid of all your resource groups and Resource Group Access ACL entries so they don't confuse the issue. Also, in addition to flushing permissions, log out by using Security | Flush All Sessions whenever you make a change.


                  ------------------------------------------------------------------------------------------
                  PLEASE, PLEASE specify the version of MODX you are using.
                  MODX info for everyone: http://bobsguides.com/modx.html
                    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
                    • 813 ☆ A M B ☆
                    • 326 Posts
                    I was fairly certain that's what I was showing you. Here, new screenshot, zoomed out a little. Also including the problem user's Access Permissions, so you can see they're part of the group in question.
                      • 3749
                      • 24,544 Posts
                      Sorry, you're right. I'm not used to looking at them with all the permissions exposed.

                      See if changing the policy to Administrator solves the problem.



                      ------------------------------------------------------------------------------------------
                      PLEASE, PLEASE specify the version of MODX you are using.
                      MODX info for everyone: http://bobsguides.com/modx.html
                        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