Advanced search  

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

Pages: [1]   Go Down

Author Topic: Allow Registered Users To EDIT PICS.  (Read 3433 times)

0 Members and 1 Guest are viewing this topic.

David2376

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Allow Registered Users To EDIT PICS.
« 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.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Allow Registered Users To EDIT PICS.
« Reply #1 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?
Logged

David2376

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Allow Registered Users To EDIT PICS.
« Reply #2 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Allow Registered Users To EDIT PICS.
« Reply #3 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
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.