forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: tcman on July 15, 2005, 06:59:45 am

Title: Allow certain user to see only certain category
Post by: tcman on July 15, 2005, 06:59:45 am
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
Title: Re: Allow certain user to see only certain category
Post by: Joachim Müller on July 15, 2005, 07:43:36 am
no. Permissions are set by album, not by category.
Title: Re: Allow certain user to see only certain category
Post by: tcman on July 16, 2005, 06:07:36 am
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
Title: Re: Allow certain user to see only certain category
Post by: Joachim Müller on July 16, 2005, 01:08:50 pm
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.