We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39990
    • 45 Posts
    Hello Everyone,
    I am using Modx Revolution to run a site where several users can edit their sections of the website. I am running into a problem where if the media resource is on the second page of the media resources page (the number of the media resource exceeds 20) the media resources do not show up under the files tab for those users. As soon as I add a media resource to the user group that is on the first page (between 1 & 20) it works like expected.

    Along with this if one of my user has access to say 2 media resources. One that is on the first page of the media resource page and one on the second, when they load the media resources under the files tab they have to use the arrows to navigate between the media resources instead of just displaying everything under the same place.

    It seems that the files tab mirrors the media resources page which is making it so that if my media resources are on page number 2 of the media resources page they don't show up correctly under the files tab...

    I hope this makes sense! Is this a bug? Has anyone seen this before? Any solutions?

    Thank You!
      • 10208 ☆ A M B ☆
      • 1,780 Posts
      How are you limiting each user's access to Media Sources?

      When you say media resources, are you speaking of the files themselves, or a Media Source such as "filesystem" or perhaps a new Media Source that you set up for this purpose?

      When you say "add a media resource to the user group that is on the first page", are you referring to adding a Media Source policy to a user group, or adding a file to a specific Media Source folder?

      Sorry, I'm a little confused. Although it seems as if you're attempting to limit two groups of users each to their own files, but those files are in the same folder. Which is not possible.

        Frogabog- MODX Websites in Portland Oregon
        "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
        Having server issues? These guys have MODX Hosting perfected - SkyToaster
        • 39990
        • 45 Posts
        Sorry! I will try to explain this a little better! smiley
        I have about 30 user groups that each have access to their own folder on the server using the Media Source Filesystem (30 Media Sources). Inside of the Tools > Media Source page it shows the first 20 Media Sources then there is a Next button that shows the rest. All of the Media sources that are on the second page cannot be accessed by my users inside of the groups that correlate with these media sources. When they click on the Filesystem drop-down under the Files Tab, it spins for a second then goes back to the way it was not showing the Media Source they have access to.

        I think this is because when the Filesystem checks to see if there is a media source, it is only checking through the first 20. If it isn't in the first 20, it gives up.
          • 4172
          • 5,888 Posts
          you did know, mediasources can have dynamic pathes by using snippet-tags in the path?

          for example:
          assets/userfolders/[[getUserFolder]]
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!