Delete only their own stuff

jperlman

Joined: 2008-07-03
Posts: 3
Posted: Wed, 2008-10-22 22:44

Hi,

I've locked down the permissions so that users can only view, add and delete items.

Is it possible to ensure the users are only deleting their own albums and photos and not other users stuff?

I'm willing to alter code to do it. I just don't know where to look and what to modify.

Thanks.

System Information
Gallery version 2.3
PHP version 5.2.6 apache2handler
Webserver Apache/2.0.52 (CentOS)
Database mysqlt 5.0.51a-community
Toolkits ImageMagick, Gd
Operating system Linux dc140.dawsoncollege.qc.ca 2.6.9-55.0.2.EL #1 Tue Jun 26 14:08:18 EDT 2007 i686
Browser Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3