coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: David2376 on November 10, 2004, 06:10:49 AM

Title: Allow Registered Users To EDIT PICS.
Post by: David2376 on November 10, 2004, 06:10:49 AM
I am trying to allow registered users access to editpics.php. I want to be the only admin but I would like to have a registered user that could log in to add titles and descriptions for photos. I do not want him/her to have full access to admin functions. The way that I am doing it now: gave the user admin rights and removed all admin links. Seems to work fine but a big hassel when I need to access admin functions myself. Anyone know of an easy way to do this.
Title: Re: Allow Registered Users To EDIT PICS.
Post by: Tranz on November 10, 2004, 07:15:41 AM
Maybe you could have one theme for you that has all admin links and have a "handicapped" version for that person. Is your site set to allow people to change themes?
Title: Re: Allow Registered Users To EDIT PICS.
Post by: David2376 on November 10, 2004, 08:11:41 PM
No it is not, but you gave me an idea. On the "handicapped" version I'm gonna try adding a link to the admin theme, I would then password protect the directory that that theme is in. Would that actually work? Any other ideas?
Title: Re: Allow Registered Users To EDIT PICS.
Post by: Joachim Müller on November 11, 2004, 06:35:28 AM
I don't like the whole idea of making users admins and just hiding the controls from their site. Anyone who knows his/her way around in coppermine could easily crash your coppermine install without having the controls available. Doing this with the way you suggested (with the admin theme being pw protected) is a workaround for a workaround, I wouldn't think about this seriously.

Joachim