Ok,
using this:
assets/documents/[[getResourceField? &id=`[[UltimateParent]]` &field=`alias`]]/
as a media source url can't work because -apparently- the resource is not loaded when I edit it in the manager.
So, I have only two solutions, I think :
- root-files media-source reachable by everyone (and I pray for good usages...)
- using dynamic path by a snippet within a sport-files media source... based on user-group or user
But,
this second solution is bad... because if, for example, a user is in different user-groups... I can't manage it!
I really wish there is a real solution for my problem: ModX is so good as a CMF...... so, it cannot manage such a "normal" policy?
Another time, I write here a description of my wish:
assets/documents/ // root-files media source
assets/documents/tennis/ // tennis-files media source for tennis-users
assets/documents/rugby/ // rugby-files media source for rugby-users
assets/documents/soccer/ // soccer-files media source for soccer-users
Let say there is a user "John Smith". I want him to be part of tennis-users and rugby-users.
When he edits a resource:
- adding an image in the content of the document
- or editing a tv-img...
I want him to be able to show
root-files... but without
soccer-files, because he doesn't have this access.
It's something so simple when you are managing policies in a network domain... that's why I go on asking you ;-)
Thanks a lot!!!