forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: cmooz on June 04, 2005, 02:56:02 pm

Title: user rights + batch add files
Post by: cmooz 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?
Title: Re: user rights + batch add files
Post by: Abbas Ali 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.
Title: Re: user rights + batch add files
Post by: kegobeer 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.
Title: Re: user rights + batch add files
Post by: Joachim Müller 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.
Title: Re: user rights + batch add files
Post by: eric.com.my 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?
Title: Re: user rights + batch add files
Post by: Abbas Ali on June 08, 2005, 12:01:28 pm
You cannot enable the batch add function for a normal user. Only admin can use it.
Title: Re: user rights + batch add files
Post by: eric.com.my 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__);
Title: Re: user rights + batch add files
Post by: Abbas Ali 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.
Title: Re: user rights + batch add files
Post by: eric.com.my on June 10, 2005, 09:37:32 am
Oops. Sorry bout that :)