Forum OpenACS Q&A: Re: Group composition and permissions hineritance

Collapse
Posted by Dave Bauer on
So you are saying ( i believe ) that if you grant permission to group three, that groups one and two also should get this permission?

This sounds like a similar issue I worked with on a site with 3 seperate group hierarchies.

The composition_rel works so that members of group three and also members of groups two and one in your example. Also memebers of group two are members of group one.

So if I am not mistaken you want the permissions to inherit in the reverse of how it currently works? That is a permission granted to group one is inherited by groups two and three.

Collapse
Posted by Claudio Pasolini on
Dave,

it is exactly the contrary: if I grant a privilege, let say write, TO a party ON, let say, group one, I want that the party also get the write privilege on the objects two and three.

Unfortunately the groups don't hinerit their permissions by the parent group, but by the object corresponding to the closest subsite.

Collapse
Posted by C. R. Oldham on
Claudio,

I think your statement above indicates a possible misunderstanding (maybe on my part 😊 ). Remember a permission is a *triplet* with one element of the triplet being an object for which the privilege would make sense.  Granting "write" to a party on a *group* has undefined semantics.  What would you be trying to achieve with that?