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: Keywords and private albums  (Read 3473 times)

0 Members and 1 Guest are viewing this topic.

orangutan

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Keywords and private albums
« on: September 30, 2005, 04:48:16 pm »

Hello!

I want to solve such kind of problem: when a user places a picture in his private album and enters a keyword for that picture, the picture can be viewed in another album with the same keyword only  if the user's album has public rights, but it cant's be viewed if the rights of user album are "Only me".

In which coppermine gallery file I need to rewrite some code?

P.S. sorry for my bad english =)
Thanks
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Keywords and private albums
« Reply #1 on: September 30, 2005, 05:04:34 pm »

why do you want to have private albums when a simple search would make the pics public again??

The permission stuff isn't that easy. And I don't think you can keep the private album system as is and just let searches pass. For that you'll have to rewrite and rethink more than you may be aware right now. To get a start check out $FORBIDDEN_SET
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.