coppermine-gallery.com/forum

No Support => Feature requests => Topic started by: DJMaze on November 17, 2003, 11:23:18 AM

Title: Multiple groups for album
Post by: DJMaze on November 17, 2003, 11:23:18 AM
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
Title: Re: Multiple groups for album
Post by: ernsti on May 31, 2004, 09:52:17 AM
Hallo DJMaze,

please explain how to do this.

Thank you!
ernsti :)
Title: Re: Multiple groups for album
Post by: Joachim Müller on May 31, 2004, 11:35:39 AM
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
Title: Re: Multiple groups for album
Post by: mixik on August 19, 2004, 09:23:02 AM
I'm using cpg1.3.1 but can't see where I can set multiple groups to an album.
TIA.
mx
Title: Re: Multiple groups for album
Post by: Joachim Müller on August 19, 2004, 09:26:40 AM
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
Title: Re: Multiple groups for album
Post by: mixik on August 19, 2004, 09:44:45 AM
OK, thanks for the reply, I'll try to set up a workaround along the lines DJMaze suggested.
mx