group permission for albums doesn't work - Page 2 group permission for albums doesn't work - Page 2
 

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

Main Menu

group permission for albums doesn't work

Started by shoe, October 16, 2003, 02:31:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

the_Sisko

Just wanted to say, I have the same error here.
Looking forward for a fix.

duntuk

ok... here's the problem with the "group permissions" in coppermine... (ref to CPG 1.2.0 RC2)

cpg does NOT allow *multiple* group permissions... or recognize group permission mask inheritance (such as in IPB 1.2, where you can ad multiple group masks to a specific group...)

The problem is, if you have CPG integrated with IPB... if you select, for instance, to allow only the "members" group to view a specific album...  other groups, such as, "moderators" will NOT be able to view these albums at all....  which is a pitty...

[size=8] (even if you have multiple permission masks in IPB set to in "moderators" group to include "members")[/size]

Nevertheless...

there should definitely be an option in CPG to include multiple group viewing permissions... (similar to the layout that's currently being used for 'groups' under the admin menu...... actually, 4images does something like this already...)

Joachim Müller

you're right, muti-group membership and permission inheritance would be nice, but don't exist within coppermine.
I just wanted to point out that a group "moderators" may have elevated rights in your bbs, but to coppermine it's just a name as every other group.
Don't expect to have mutli-group membership in the near future...

GauGau

duntuk

thanks for the reply gaugau....

i also read the part about this requested feature to be added in the 'far' future in one of your other posts...

well... i guess we'll all be looking towards the future till then...

 :P

anyhow... we decided to keep coppermine for the portfolio and use 4images for all other photos...

nitschkecm

Hi,

I have the same problem with the Admin. I have created an Album and when I set the permisions to a certain Group only I have no access as admin to them.

Any suggestions ?

Otherwise Coppermine is just great :)

Carsten

Casper

It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

There's a fix available for this which has been introduced by DJMaze and has been committed to the dev branch of coppermine (which will become a future release). For the moment, search the code for this lineif ($visibility == '0' || $visibility ==
(FIRST_USER_CAT + USER_ID)) {
and replace it withif ($visibility == '0' || $visibility ==
(FIRST_USER_CAT + USER_ID) || $visibility ==
$USER_DATA['group_id']) {


GauGau

unforgiven

Quote from: "gaugau"There's a fix available for this which has been introduced by DJMaze and has been committed to the dev branch of coppermine (which will become a future release). For the moment, search the code for this lineif ($visibility == '0' || $visibility ==
(FIRST_USER_CAT + USER_ID)) {
and replace it withif ($visibility == '0' || $visibility ==
(FIRST_USER_CAT + USER_ID) || $visibility ==
$USER_DATA['group_id']) {


GauGau

Just kicking this topic....Has anyone tried this ? I'm having the same problem. I worked around it by creating an 'admin album' in each category, which is only available for the admin. This way, I can always select every gallery, by going into properties of this admin album, and from there, select the gallery from the pulldown.

But it would be nice if I could add several groups to a gallery.
So, anyone ?

cheers,

Unforgiven

Casper

Multiple group membership is available in version 1.3, which is very close to finishing it's beta testing.  And the visibility problems are solved.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here