Allow certain user to see only certain category Allow certain user to see only certain 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

Allow certain user to see only certain category

Started by tcman, July 15, 2005, 06:59:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tcman

Hi,

I've added the php code to check for username and password before entering.  Depending on the username they enter, I want to allow them to only see certain categories and of course  all the albums within these categories.
I've done a search on this in this forum and had several hits, but all seem to suggest tying the username to an album instead of category.

Is this even possible in CopperMine?

Thanks,
tcman

Joachim Müller

no. Permissions are set by album, not by category.

tcman

I finally got permissions to work on albums tied to userid's after a few attempts. The logic is backwards to what I'm accustomed to, but it works fine.
Too bad it can't be tied to category.  Can this be submitted as an enhancement?

Thanks,
tcman

Joachim Müller

You already got an answer here: http://forum.coppermine-gallery.net/index.php?topic=19875.0
In the future, please don't double-post or cross-post.