Hello,
I’m using MaxiGallery (great snippet btw!) as follow:
- Document
Photo has the following snippet
[!MaxiGallery? &childgalleries_ids=`all` &display=`childgalleries` &order_by=`id` &pics_per_row=`6` !]
- For each child gallery I’ve created a sub-document to
Photo with the following snippet call:
[!MaxiGallery? &display=`embedded` &embedtype=`lightboxv2` &max_pic_size=`500*450` &thumb_use_dropshadow=`1` &max_thumb_size=`120*90` &manager_webusers=`[[GetUser]]` &admin_webusers=`[[GetUser]]` &order_by=`title`!]
- The snippet GetUser simply returns "$modx->getLoginUserName();"
- I’d like to set permissions for photo gallery so users can only edit and delete photos they add in themselves.
Is this possible?
From what I understand users logged from backend will be able to edit all pic and when webuser goes to the picture management, he/she only be able to edit his/hers own picture in that gallery.
However using the snippet above doesn’t give me this behaviour? What am I missing?
Thanks in advance.