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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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