We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12410
    • 353 Posts
    Hi Guys,
    Trying to understand the access control. How do I restrict a user to a container in the manager tree. I basically want certain users access to specific containers for editing purposes i.e

    Home
    >container1
    >>container1a
    --child1
    --child2
    >container2
    >container3
    ...
    I would like to create a user who only has access to say container 1 and children within for edit purposes.
    In my attached screenshot I created a resource group called division1 and duplicated the Content Editor access policy and called that division1 also. I also checked out Shaun McCormick's screencast but cant get it working. The user sees everything.
    Any help appreciated.
    THANKS! [ed. note: howster last edited this post 13 years, 10 months ago.]
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      All resources have to be put into a resource group that the user does not have access to. Then put the resources you want him to access in his group. If a resource is not protected explicitly, then it is available to all.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 12410
        • 353 Posts
        Quote from: sottwell at Nov 17, 2012, 09:45 AM
        All resources have to be put into a resource group that the user does not have access to. Then put the resources you want him to access in his group. If a resource is not protected explicitly, then it is available to all.

        I just cant get it working to show just a designated container. Any examples on the forums or in the docs? Thanks
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          BobRay's guide should be helpful; scroll down to the section "Limiting Manager Users to a Subset of Resources using User and Resource Groups"

          http://bobsguides.com/hiding-resources-in-the-manager.html
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org