Multiple groups for album Multiple groups for 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

Multiple groups for album

Started by DJMaze, November 17, 2003, 11:23:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DJMaze

I've read a lot of posts and stickies about the usergroup setup for albums, and came to the right idea:

When your a Admin you can set the album properties and choose only 1 group for accessing the album.
I was thinking about that making multiple
Add more groups to 1 album and also choose which group may upload pictures 2 it.
This is easy done by a seperate table or a array in the cpg_albums.visibility field (serialize($permission)).
where $permission is a 3D-array of:
$permission['group'] = X
$permission['upload'] = yes/no

And database:
album_id | group_id | can_upload

SELECT can_upload FROM cpg_albumgroups WHERE group_id = $user_group_cp AND album_id = $album_id
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

ernsti

Hallo DJMaze,

please explain how to do this.

Thank you!
ernsti :)

Joachim Müller

will be in cpg1.3.0 (which has still beta status, meaning no support. You're encouraged to upgrade once the stable comes out).

GauGau

mixik

I'm using cpg1.3.1 but can't see where I can set multiple groups to an album.
TIA.
mx

Joachim Müller

OK, the above posting may have been misleading. Users being members of multiple groups exists, so you can create as mayn groups as you need and assign album permissions to the groups, but you will have to make your users members of that particular group. You currently can't assign several groups to have permissions to one album.

GauGau

mixik

OK, thanks for the reply, I'll try to set up a workaround along the lines DJMaze suggested.
mx