Removing upload permissions from one category and not another Removing upload permissions from one category and not another
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Removing upload permissions from one category and not another

Started by riggsd, October 22, 2006, 10:00:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

riggsd

How do I remove upload permissions to a gallery without setting it to private?

I need to be able to allow registered users and guests to view a set of albums within a category but not be able to upload to that album, but still allow registered users to upload images to albums in another category.

For example, I have two categories, a monthly upload and a permanent gallery. Users upload images to the monthly galleries and when selected by the judges, images are moved to the permanent gallery. Only the admin should be able to move/add images to the permanent galleries.

Joachim Müller

Quote from: riggsd on October 22, 2006, 10:00:37 AM
Only the admin should be able to move/add images to the permanent galleries.
In album properties, set "visitors can upload" to "no" for all albums that reside in "permanent galleries". Set it to "yes" for all other albums. Finally, allow uploads to public albums in coppermine's groups page.

riggsd

A bit roundabout way to do it, but that works.

I'm assuming that I can use this method to remove upload permissions from the monthly galleries after the cutoff date - by setting allow visitors to upload to No for that gallery?

Joachim Müller