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
-
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?
-
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.
-
Windows users can use the XP Publishing wizard to add images to their albums. Read the documentation.
-
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.
-
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?
-
You cannot enable the batch add function for a normal user. Only admin can use it.
-
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__);
-
You should post the new question in another thread with appropriate title. Please don't hijack the thread by changing questions.
-
Oops. Sorry bout that :)