Allow user to edit and delete their own pics
dudo
Joined: 2012-09-10
Posts: 7 |
Posted: Wed, 2012-09-19 17:24 |
is it possible? I'd like that user can edit just their own pics (and not someone else's ones) |
|
Posts: 8339
Give them each their own album to which they have full rights.
http://codex.gallery2.org/Gallery3:Modules:user_homes
-s
All New jQuery Minislideshow for G2/G3
Posts: 27300
For speed, code complexity, upgrade-ability and other considerations, we went with a per album permissions approach and not a per item.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7
Thank you for your answers.
This is a stub of my website, http://passionetreni.it , since it is not possible allow users to edit/delete just their pics, i'd like that users can upload, edit and remove every pics (not just their own), but I won't allow them to organize/edit album (I would like to hide "album options").
Can i do it?
Best Regards,
Dario
Posts: 27300
see if adding this:
to the bottom of the page.html.php of your theme does as expected and report back.
If it works as expected I can add it to the remove actions module.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7
It worked like a charm!
Posts: 7
The problem I am seeing with permission is that album owners have no implicit access to their own albums.
If you want to have multiple users, each having "edit" access to their own album and nobody's else you have to create an individual group for EVERY user, and then explicitly grant "edit" / "add" permissions to each user's home album.
Isn't this kind of backwards? Shouldn't albums owners have default rights to modify their own albums? Or, at the very least, shouldn't there be an option to grant the owner permissions without having to create an extra group? I think this severely impedes the ability to use the Gallery in a real multiuser environment. What do you think?
Posts: 27300
Yes we think that permissions should be improved but time resources and skills are at a premium so groups is the way to go at this time.
Have you tried G2?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7
I focus on G3 because it provides a decent REST API, and I use it to integrate with my Lightroom plugin (http://alloyphoto.com/plugins/gallery/). Using this plugin Lightroom users can manage their albums and photos directly from Lightroom, which many find a great convenience and a time saver.
Frequently enough my clients ask me for a more secure and more convenient way to manage albums in a multi-user environment, but this issue with owner permissions becomes a hassle for the administrator (too many steps to set up every user).
Oh well, I hope one day you'll find time to implement all feature requests
Thanks!
Posts: 53
Dear alloyphoto and All, that´s the point i saw there, to create a new group for every user.... a lot steps...
Does have a solution for this??
Thanks and Regards,
Tony