Restrict access to some images in a public album? Restrict access to some images in a public album?
 

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]

Main Menu

Restrict access to some images in a public album?

Started by ciegalo, May 10, 2005, 09:07:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ciegalo

Hi to all,
New to CPG, I've been uploading pics for a couple weeks (see link in my profile). The system suits me so well I've installed one for my mother :) Now I'm looking for a way to restrict access to *some* images in a public album.

Why? Because some of my "travels" albums contain some portraits I do not wish to publish. Setting up 2 albums (1 for neutral, 1 for portraits) is too much trouble and takes the pics out of the context.

Before I stick my nose in PHP and SQL code, has anyone ever looked into that? To obtain this result I'd simply add a field to the image DB (have too look that one up ;) ) that would link to a user group, and modify all the queries (last uploads, favorites, albums...) to restrict access.

I've noticed several questions on the board about allowing an album to be linked with several user groups, I'll look into that too.

Any hints or suggestions ?
Thanks in advance !
Ciegalo
--
"le point sert à terminer une phrase quand on en a marre"
J. Duhamel - Paroles d'enfants