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: Goups permissions after bridging with phpbb3  (Read 3815 times)

0 Members and 1 Guest are viewing this topic.

Barterbly

  • Coppermine newbie
  • Country: pl
  • Offline Offline
  • Gender: Male
  • Posts: 2
Goups permissions after bridging with phpbb3
« on: September 18, 2011, 02:02:18 am »

Welcome!

I have problem with my gallery (or maybe question). We install Coppermine Gallery 1.5.16 and succesfully bridged it with our phpbb3 instalation. It is post-based bridge. We have groups the same in Coppermine that we have on forum. But here is the problem. We have some additional groups and users belongs to more than 1 group. For example user_1 can belong to administrators and skypredict groups, but skypredict is the default group. But this user_1 don't have administrative permissions in gallery. I want to make 2 groups as administrators in gallery, because this users can manage all the gallery.

Second problem is that i want to make some groups enabled, to accept the new sended files. For example moderators and lowcy burz groups can accept new files. I want them also to have controll on comments, editing infos about sended files e.t.c. Is there any solution of this problems?

(sorry for my english)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Goups permissions after bridging with phpbb3
« Reply #1 on: September 19, 2011, 12:34:34 pm »

I want to make 2 groups as administrators in gallery
Open bridge/phpbb3.inc.php, find
Quote
$this->admingroups = array(5);
and adjust the array so it matches the group ids.


Second problem is that i want to make some groups enabled, to accept the new sended files. For example moderators and lowcy burz groups can accept new files. I want them also to have controll on comments, editing infos about sended files e.t.c. Is there any solution of this problems?
That are privileges of the administrator group(s). If you want to grant that permissions to non-admin groups, you'll have to change a lot of code.
Logged

Barterbly

  • Coppermine newbie
  • Country: pl
  • Offline Offline
  • Gender: Male
  • Posts: 2
Re: Goups permissions after bridging with phpbb3
« Reply #2 on: September 19, 2011, 10:38:40 pm »

For now I will stay with solution that you wrote. I'll change array ( array=(4, 5, etc.); ) to give this groups admin privileges. For prevention I can delete those groups 'Settings' menu by cheking groups id in theme settings for menu. I know, that they can access setting if they have the direct link. But I want to delete this from menu to prevent accidental changes.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.