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 [2]   Go Down

Author Topic: group permission for albums doesn't work  (Read 12609 times)

0 Members and 1 Guest are viewing this topic.

the_Sisko

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
group permission for albums doesn't work
« Reply #20 on: October 29, 2003, 10:49:41 pm »

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

duntuk

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
invision power board 1.2 integration problem... CPG1.2.0 RC2
« Reply #21 on: November 02, 2003, 11:29:24 pm »

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...)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
group permission for albums doesn't work
« Reply #22 on: November 03, 2003, 07:41:11 am »

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
Logged

duntuk

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
group permission for albums doesn't work
« Reply #23 on: November 03, 2003, 08:04:27 am »

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...
Logged

nitschkecm

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
    • http://lafamilia.hopto.org
Admin cannot see all albums
« Reply #24 on: December 15, 2003, 05:03:11 pm »

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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
group permission for albums doesn't work
« Reply #26 on: December 16, 2003, 12:58:25 am »

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 line
Code: [Select]
if ($visibility == '0' || $visibility ==
(FIRST_USER_CAT + USER_ID)) {
and replace it with
Code: [Select]
if ($visibility == '0' || $visibility ==
(FIRST_USER_CAT + USER_ID) || $visibility ==
$USER_DATA['group_id']) {


GauGau
Logged

unforgiven

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
group permission for albums doesn't work
« Reply #27 on: April 14, 2004, 10:54:08 pm »

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 line
Code: [Select]
if ($visibility == '0' || $visibility ==
(FIRST_USER_CAT + USER_ID)) {
and replace it with
Code: [Select]
if ($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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
group permission for albums doesn't work
« Reply #28 on: April 14, 2004, 11:40:43 pm »

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.
Logged
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
Pages: 1 [2]   Go Up
 

Page created in 0.021 seconds with 18 queries.