coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 permissions => Topic started by: pftq on September 21, 2010, 06:55:25 AM

Title: SMF 1.x Bridge - Additional Groups Ignored
Post by: pftq on September 21, 2010, 06:55:25 AM
A member with "Administrator" under their SMF Additional Groups is not given Admin permissions for Coppermine as well.

This is with CPG 1.5.8:
www.pftq.com/gallery/

I remember in 1.4.x, additional groups worked fine in CPG.
Title: Re: SMF 1.x Bridge - Additional Groups Ignored
Post by: Αndré on September 27, 2010, 10:29:28 AM
Works fine for me with latest development release (r7936).
Title: Re: SMF 1.x Bridge - Additional Groups Ignored
Post by: pftq on September 27, 2010, 10:58:23 AM
Is that the same as 1.5.8 (Stable)? The main issue I am getting is that someone with "Administrator" under Additional Groups (but not as their main group) will not get the option to show/hide Admin Controls.
Title: Re: SMF 1.x Bridge - Additional Groups Ignored
Post by: Αndré on September 27, 2010, 11:08:08 AM
Quote from: pftq on September 27, 2010, 10:58:23 AM
Is that the same as 1.5.8 (Stable)?
No. But the bridge file hasn't been touched since the release of cpg1.5.8.

I just recognized the little word 'additional' in your description. Afaik Coppermine always uses the lowest permission if a user is in multiple groups. So you'll have to put him in the Administrator group if he should have administration privileges.
Title: Re: SMF 1.x Bridge - Additional Groups Ignored
Post by: pftq on September 27, 2010, 11:33:49 AM
I see - thanks for clarifying.

Is there any possibility this might be changed to recognize the highest permission given instead?

What I'm basically trying to do is have a user with Admin permissions but without the group name explicitly being "Administrator".
Title: Re: SMF 1.x Bridge - Additional Groups Ignored
Post by: Αndré on September 27, 2010, 11:39:28 AM
Quote from: pftq on September 27, 2010, 11:33:49 AM
Is there any possibility this might be changed to recognize the highest permission given instead?
Moving to appropriate support board.