Advanced search  

News:

cpg1.5.22 maintenance release - upgrade recommended
The Coppermine development team is releasing an update for Coppermine in order to fix several minor issues. All fixes are not security critical, so if your gallery is running fine with cpg1.5.20 you don't need to upgrade. If you are running an older version than cpg1.5.20, you must update to this latest version as soon as possible because of the security impact!
[more]

Pages: [1]   Go Down

Author Topic: Keywords and private albums  (Read 1685 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
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 5986
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
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/
Pages: [1]   Go Up
 

Page created in 0.151 seconds with 22 queries.