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
Hallo DJMaze,
please explain how to do this.
Thank you!
ernsti :)
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
I'm using cpg1.3.1 but can't see where I can set multiple groups to an album.
TIA.
mx
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
OK, thanks for the reply, I'll try to set up a workaround along the lines DJMaze suggested.
mx