Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Permissions for a user in multiple groups  (Read 6299 times)

0 Members and 1 Guest are viewing this topic.

amirw2k

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 37
Permissions for a user in multiple groups
« on: December 10, 2005, 05:30:16 am »

This is an obscure one.

I'm trying to find out how coppermine deals with users that are members of multiple usergroups. This can happen in bridged galleries which means a user can belong to two groups, and each group can have overlapping permissions.

For example, different number of text boxes for upload, different permissions for private galleries, permissions for viewing an album, etc.

Can anyone tell me how can I know which of the groups the user is in is the one that matters? I'm sure that the user isn't getting the highest permission he can get, because I tried to give one group 7 upload boxes, and the other 5 upload boxes. It didn't change anything. Only changing a specific group made the difference and I have a feeling that all the other groups aren't effecting anything. The worst thing is that I have no idea how to determine the "main group" that gives the user his permissions.

Any ideas?
Logged

Nibbler

  • Guest
Re: Permissions for a user in multiple groups
« Reply #1 on: December 10, 2005, 01:01:35 pm »

Users should get the best permissions of all groups they are in (see core_udb::get_user_data() in bridge/udb_base.inc.php) Unbridged Coppermine supports multiple groups too.
Logged

Nibbler

  • Guest
Re: Permissions for a user in multiple groups
« Reply #2 on: December 10, 2005, 05:06:23 pm »

Also see http://forum.coppermine-gallery.net/index.php?topic=24903.0

Let me know what you are bridged to and I'll check how the primary group is determined.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.