How can define access rights or visibility based on IPTC/XMP tags previously embedded on JPEG files ?
For example, if a new image provided to ZP is tagged as "private", set it visible only to the administrator. Or a file tagged as "confidential" will be visible only to users of group "A". Or, even further, only JPEGs taken with specific camera model will be accessible to user "B".
I'd like to be able to define these rules but couldn't find any module that let me do that.
I don't care about doing it directly on the DB (I can script that) but would like to have some advise or pointers on how to do that.
Thanks in advance