Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Multiple groups for album  (Read 4066 times)

0 Members and 1 Guest are viewing this topic.

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
Multiple groups for album
« 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
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Multiple groups for album
« Reply #1 on: May 31, 2004, 09:52:17 am »

Hallo DJMaze,

please explain how to do this.

Thank you!
ernsti :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Multiple groups for album
« Reply #2 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
Logged

mixik

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
Re: Multiple groups for album
« Reply #3 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Multiple groups for album
« Reply #4 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
Logged

mixik

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
Re: Multiple groups for album
« Reply #5 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
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.