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: user rights + batch add files  (Read 5881 times)

0 Members and 1 Guest are viewing this topic.

cmooz

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
user rights + batch add files
« on: June 04, 2005, 02:56:02 pm »

I got multiple ftp accounts on my webspace and want to allow some users rights to the 'Batch add mode'.

But they must not have access to the other admin area. They should be hold on their home directory and only be able to add their files to their albums.

sorry for my english


is this possible?
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: user rights + batch add files
« Reply #1 on: June 04, 2005, 04:47:37 pm »

No. Only admin has rights for batch add files and the folder containing the pics must be placed in coppermines "albums" directory only for batch add to work. If other users upload via FTP they can only upload to their home directories and not coppermines "albums" directory and hence batch add for them wont work.
Logged
Chief Geek at Ranium Systems

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: user rights + batch add files
« Reply #2 on: June 04, 2005, 05:11:40 pm »

Windows users can use the XP Publishing wizard to add images to their albums.  Read the documentation.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: user rights + batch add files
« Reply #3 on: June 05, 2005, 11:54:56 pm »

in other words: don't allow others FTP-access for other users to your albums folder (or anywhere else within the webroot). Huge security impact. There are very good reasons why we implemented batch-add the way it is.
Logged

eric.com.my

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 14
  • Eric Chooy
    • Eric's Heaven
Re: user rights + batch add files
« Reply #4 on: June 08, 2005, 11:04:33 am »

In my case, I had created a sub-folder for my friend under the album folder and the FTP id can only access the sub-folder only so that will take care of the ftp security issue but how do I enable 'batch add files' function to a normal user?
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: user rights + batch add files
« Reply #5 on: June 08, 2005, 12:01:28 pm »

You cannot enable the batch add function for a normal user. Only admin can use it.
Logged
Chief Geek at Ranium Systems

eric.com.my

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 14
  • Eric Chooy
    • Eric's Heaven
Re: user rights + batch add files
« Reply #6 on: June 10, 2005, 09:18:30 am »

Ooic. OK! I got another question over here. How do I define only admin and user_id 3 only have access with the coding below

if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: user rights + batch add files
« Reply #7 on: June 10, 2005, 09:29:50 am »

You should post the new question in another thread with appropriate title. Please don't hijack the thread by changing questions.
Logged
Chief Geek at Ranium Systems

eric.com.my

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 14
  • Eric Chooy
    • Eric's Heaven
Re: user rights + batch add files
« Reply #8 on: June 10, 2005, 09:37:32 am »

Oops. Sorry bout that :)
Logged
Pages: [1]   Go Up
 

Page created in 0.032 seconds with 19 queries.