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
    Maybe you know this, but you need a Resource Group Access ACL entry for each user connecting the user's User Group to the Resource Group that user's child resources are in (with a Policy containing the proper permissions).


    ------------------------------------------------------------------------------------------
    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
      • 41055
      • 24 Posts
      Ah, yes, I did, and each user was linked to his group or they wouldn't see only their own resources.

      What was missing was to give the Members group a new policy with list, load, view and add children. Load list and view only didn't allow to, well, add children! Duh.

      I really appreciate all your help, BobRay, you helped me tremendously! Thank you. [ed. note: helene last edited this post 14 years, 1 month ago.]
        • 3749
        • 24,544 Posts
        I'm really glad you got it sorted. wink


        ------------------------------------------------------------------------------------------
        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
          • 41055
          • 24 Posts
          Hey BobRay, popping up again on permissions! After this I'll be a pro, learning from the best!

          In the Permissions series, how do I assign my Media Source to be viewed separately for all my users?

          I have created the right ACL so my users could upload images via the manager but not see the file tree on the left.

          Then I read the excellent: http://rtfm.modx.com/display/revolution20/Creating+a+Media+Source+for+Clients+Tutorial and was able to limit access to a Media Source to certain users but I cannot get the last step I need to work.

          I have created the right ACL so my users could upload images via the manager but not see the file tree on the left.
          I have created a Media Source, folders and CHMOD them, limited the access to my filesystem to my Admin group and assigned my new Media Source to a user group (I have tried with Members and an Individual user User Group).
          I have created a TV that uses MIGX to upload images to a gallery.

          The result is I can control who can and who cannot upload images. The upload dropdown from my TV shows or is commented out depending on permissions to access the Media Source. However, if the user has access to the media source, they can see all of it, including what is not theirs. I guess I am missing the part where the user saves only in their Resource Group (or equivalent for Media Source) that is hidden from the others but I cannot find a reference to that.
            • 3749
            • 24,544 Posts
            TBH, I'm not an expert on Media Sources, but it sounds like you might need a separate Media Source for each group of users. I think users either have access to a Media Source or they don't.


            ------------------------------------------------------------------------------------------
            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
              • 41055
              • 24 Posts
              The concept of creating a media source per user works, the issue is with MIGX, which, as far as I can tell, can handle one media source for one TV but not a parent media source (galleries > assets>galleries) and child source (user galleries > assets>galleries>gallery1).

              I give access to the member group to galleries view a view permission, then give upload permissions to the user for gallery1.

              On the user end, they can see the galleries and their own, but if they choose their gallery, the thumbnails are broken. They can upload and select a new item in the right gallery but it switches back to the galleries level without selecting the newly uploaded item.