Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Allow certain user to see only certain category  (Read 3121 times)

0 Members and 1 Guest are viewing this topic.

tcman

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Allow certain user to see only certain category
« 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
« Last Edit: July 16, 2005, 01:09:04 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Allow certain user to see only certain category
« Reply #1 on: July 15, 2005, 07:43:36 am »

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

tcman

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Allow certain user to see only certain category
« Reply #2 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Allow certain user to see only certain category
« Reply #3 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.