Setting up Restricted Access to Manager Resources
As always, credit to the Author. I am just compiling snippets of code, design ideas, thoughts and ideas, shortcuts and the weird and wonderful in one place, so I have to stop looking for it all the time!
This is going to be very much a work in progress till I do it enough times to get it perfect, but it's pretty close for now.
NB. ALWAYS flush permissions, logoout and then try to browse the site on a new browser, as getting it wrong take sthe website offline, eg. no-one has permissions to access the "web" Context
*Tip 1: Login with your restricted user in a different browser in Incognito mode. This way you can check login access, permissions and resource access without having to Logout and In as Administrator every time, just switch between browsers after every tweak.
*Tip 2: Don't forget to check your User Group's Media Source Access and whether it has FIle / Media SOurce Access (eg. permission to view the Media Manager).
Administrator: Context administration policy with all default permissions..
Context Editor: Context administration policy with limited, content-editing related Permissions, but no publishing Permissions..
Context: A standard Context policy that you can apply when creating Context ACLs for basic read/write and view_unpublished access within a Context..
Element: MODX Element policy with all attributes.
Load Only: A minimal policy with permission to load an object..
Load, List and View: Provides load, list and view permissions only..
Media Source Admin: Media Source administration policy..
Media Source User: Media Source user policy, with basic viewing and using - but no editing - of Media Sources..
Object: An Object policy with all permissions..
Resource: MODX Resource Policy with all attributes.