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

    Where can I set the entry point within the web server directoy structure for a user group or a user. When a user picks an image ore file, he can see the whole file structure. I know that I can set the filemanager_path system-wide, but how can I change this for a user group/user? The editors must not see all the files but only some.

    Thanks
    Martin
      • 3749
      • 24,544 Posts
      On the Settings tab for the user, create a setting with the key filemanager_path and set it to the path you want. That will override the System Setting for that user.
        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
        • 10313
        • 375 Posts
        I tried that before I asked here. That did not work. The user could still see all folders on the server. Do I have to take account of something special?

        Thanks
        Martin
          • 28215
          • 4,149 Posts
          splittingred Reply #4, 15 years ago
          2.2 will support this via Media Sources - you'll be able to restrict a Media Source to a User Group.

          2.1 and earlier have the filemanager_* settings; however, this is a bit buggy for User Settings with image/file TVs. The bugginess is why we moved to Media Sources for 2.2.
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com