New Group - How can I easily remove inherited permissions?

LongTimeUser

Joined: 2014-01-30
Posts: 2
Posted: Thu, 2014-01-30 22:18

Hi Gallery experts,

Is there an easy way to remove a group permission from all sub-albums? Or the other way around: How can I deny permissions for a group in every sub-album that exists at the moment?

I try to explain why I am looking for this feature. I am using Gallery 3.0.9 and I have a flat Gallery structure like this:

ROOT
|- Album 1
|- Album 2
|...
|- Album 55
|- Album 56

I have 5 groups which are used for "normal" users (these are persons who have their own, private login). That's working fine.

I use the CHROOT module for dummy users. These users are used by a group of people (e.g. for one event) and only have access to one album. It's not very nice, but it's working.

Today I wanted to create a new group, because new "normal" users should be added to this new group. I don't want to use the CHROOT dummy users, everyone should get his own login. For this I need to grant "view-permission" on the root album to the new group. This permission is granted automatically to all 56 sub-albums of root. But it should have access to only 3 albums. Now I need to manually remove the groups permission from every album except for 3. Not very nice and it get's worse with every new album.

With the possibility of removing sub-album permissions I could have a process like this (and it would fit to Gallery 3 permission system as I understood it):

  • Create a new group
  • Give access to root
  • Remove access to all sub-albums of root
  • Manually add the permission where it is needed.
  • When new albums are created later, the permission is inherited (standard Gallery 3 behaviour). This will not be a problem, because with new albums I have to check the permissions anyway.

Maybe there is a module that can do this? Or maybe this already exists in Gallery 3 and I cannot find it? Any help is appreciated!
Best regards,
LongTimeUser

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2014-01-30 23:35
Quote:
Maybe there is a module that can do this?

I thought there was a default permissions module have you looked?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
LongTimeUser

Joined: 2014-01-30
Posts: 2
Posted: Fri, 2014-01-31 00:26

I checked the modules listed here, but can't find anything that can help me:
http://codex.galleryproject.org/Category:Gallery_3:Modules

I also made various attempts to find a solution via google, but I can only find people having the same problem, but no solution.