Allow certain user to see only certain category Allow certain user to see only certain category
 

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

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.