Hi there,
I recently met one of the harder end bosses in Modx: the ACLs. And I need a walkthrough.
Summary
I created a separate media source to hide any voodoo files from a client so he cannot delete any important data. The media source âimagesâ is available for the user group âcontent editorâ, the media source âfilesytemâ is available to administrators only.
The subfolders and files are shown in the file tree, and the user can work with the files. When the media browser is used, no file is shown. Only when media source âfilesystemâ is switched on again, the files are shown. The problem seems to occur only when using a TV. If I try to add or change an image in the content text area, media source âimagesâ is shown without any problems.
Step to reproduce
- Create a media source âimagesâ.
- Set user group editors (uses âcontent editorâ), set minimum rights âmemberâ, and set ACL âmedia source adminâ. Set basePath and baseURL to âimages/â.
- Limit access to media source âfilesystemâ to admins only (admins, member, media source admin).
Observed behavior
Works great: media source in the file tree.
Works great: media source in the media browser when accessed from the text area âcontentâ.
Doesnât work: media source in the media browser when accessed from any of the image TVs I use. Please note that the media browser now also shows â(web)â in the header.
What did I miss?
Environment
ModX version: 2.8.4.