Allow Registered Users To EDIT PICS. Allow Registered Users To EDIT PICS.
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Allow Registered Users To EDIT PICS.

Started by David2376, November 10, 2004, 06:10:49 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

David2376

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.

Tranz

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?

David2376

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?

Joachim Müller

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