Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Allow certain user to see only certain category  (Read 3173 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 20 queries.