We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38678
    • 24 Posts
    I have a user in a group called "blogs and news" with access to a Press Release (PR) Archive folder which has child folders for individual years (2012, 2011, ...).

    He is able to see all the folders and children, create a document (press release). However, when he tries to click on "publish" then hit save, the post won't publish. When he hits "preview" that's not working either.

    As an admin super user I can do these actions fine.

    I did notice that while the Archive folder did have permissions granted to the "blog and news" group, the child folders did not. Are permissions inherited? In any case, when I set the permissions for the 2012 and 2011 folder, my user could still not preview or publish.

    I am running on MODx Revolution 2.0.7.

    Anyone have any ideas?
      • 3749
      • 24,544 Posts
      If the resources are in a resource group that's attached to a user group, the policy in the ACL entry granting that access has to have the publish permission checked.

      The user group's Context Access ACL entry policy also must have the "publish_document" permission checked.


      ---------------------------------------------------------------------------------------------------------------
      PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
      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
        • 38678
        • 24 Posts
        Thanks Bob. I have an "Author" role assigned to a "Blog and News" resource group, and for some reason the "publish_document" was unticked as you suggest (user claims they could always publish before).

        Hope that does the trick for him for publish / preview.

        Thanks.
          • 3749
          • 24,544 Posts
          It's possible that a previous version of MODX didn't enforce that permission.
            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
            • 38678
            • 24 Posts
            Hey Bob, just wanted you to know the problem was resolved (at least publish). Still can't preview, but I get that behavior with some pages anyways sometimes. My blogger can publish / unpublish as a surrogate for "preview". I certainly know more about MODx security now! smiley
              • 3749
              • 24,544 Posts
              I'd suggest upgrading to a newer version (at least 2.1.5). Some earlier versions had trouble with cache corruption.

              Be sure everyone who needs to preview has load, list, and view permissions.


              ---------------------------------------------------------------------------------------------------------------
              PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
              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