How to restrict upload by user group and category How to restrict upload by user group and category
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

How to restrict upload by user group and category

Started by dahvoo, December 29, 2013, 05:22:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dahvoo

I have several categories containing albums. I also created several user groups / users.

I want to restrict a particular user to a particular category, so each of my user can only upload to their own category. Viewing is open to all public.

I have tried all permission possibilities at the various tab. However,  all my users can upload to all the categories. ie. went User A login, and click on Upload files, the drop-menu show all the categories, and can upload to any albums within those categories.

Is 'Public albums upload' open to all user group? Is "Visitors can upload files" open to all user group? Can I restrict User A to Category A, User B to Category B etc.  for upload files.  ( I'm repeating to make it clear. thanks)

Thanks.


ΑndrĂ©

Out of the box you cannot set such permissions. But as you said that each user has an own category, I assume he should be the only user who uploads pictures to that albums. If so, disable public upload and instead, assign the albums to the corresponding user (either directly in the database or create the albums with that user account / let them create).