I recently met one of the harder end bosses in Modx: the ACLs. And I need a walkthrough.
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.
- 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).
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?
ModX version: 2.8.4.