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

    Is there a simple way, to make a user only have access to one folder: "assets/image/".

    So if they use "TinyMCE DIY", and they want to add an image, they can only upload to that folder.

    My brain explodes when trying "access control" and "permissions" in Modx, so a very easy and elegant solution is what I crave.

    thanks !
      • 3749
      • 24,544 Posts
      You could use NewsPublisher if you don't mind them doing it in the front end. You'd just change the both browserBasePath and browserBaseURL properties of the npElfinderConnector snippet from this:

      [[++base_path]]assets


      to this:

      [[++base_path]]assets/images
        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