We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    Added filemanager_path for restricting files tree paths

    Is this the same as tree_root_id only for the file tree? Is it a setting?


    added file-specific permissions for ACLs

    Could you clarify this? Does it mean that there are new permissions relating to things like read/write/rename on the Files tree tab?

    (At first, I thought it meant ACL entries relating to specific files.)
      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
      • 28215
      • 4,149 Posts
      Quote from: BobRay at May 27, 2010, 11:16 PM

      Is this the same as tree_root_id only for the file tree? Is it a setting?
      It is tree_root_id, a Setting, based on these tickets.

      added file-specific permissions for ACLs
      Could you clarify this? Does it mean that there are new permissions relating to things like read/write/rename on the Files tree tab?
      Yes, specific permissions:

      file_list, file_manager, file_remove, file_update (rename), file_upload, file_view
      directory_chmod, directory_create, directory_list, directory_remove, directory_update (rename)
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 3749
        • 24,544 Posts
        Added filemanager_path for restricting files tree paths.
        . . .
        It is tree_root_id, a Setting, based on these tickets.

        Now I’m more confused. How does the tree_root_id setting (which contains Resource ID numbers) restrict access in the *Files* tree?

        Did you mean Resources tree?

        Or is there now a filemanager_path user setting that takes a path and works *like* tree_root_id, but for the Files tree?
          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
          • 28215
          • 4,149 Posts
          Oops, I misunderstood you. tree_root_id is for the Resources tree only.

          filemanager_path lets you specify the root path for a user to see on the Files tree (or in the MODx Browser).
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 3749
            • 24,544 Posts
            Quote from: splittingred at May 28, 2010, 08:08 AM

            Oops, I misunderstood you. tree_root_id is for the Resources tree only.

            filemanager_path lets you specify the root path for a user to see on the Files tree (or in the MODx Browser).

            Got it. Thanks.

            I’m assuming that filemanager_path works as a user setting also.
              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
              • 28215
              • 4,149 Posts
              Any System Setting can be a User Setting (or a Context Setting) since User Settings just override System ones.
                shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com