Forum OpenACS Development: Re: Group membership

Collapse
8: Re: Group membership (response to 1)
Posted by russ m on
are you saying that having a membership_rel between 2 groups does not work? according to the docs this is part of the core design of the ACS groups system...

Consider an example to make this less abstract: Pretend that the Sierra Club is a member of Greenpeace. The Sierra Club has chapters; each chapter is a component of the Sierra Club. If Eddie Environmentalist is a member of the Massachusetts Chapter of the Sierra Club, Eddie is automatically a member of the Sierra Club, but being a Sierra Club member does not make Eddie a member of Greenpeace.

In the OpenACS, Greenpeace, Sierra Club, and the Sierra Club chapters would be modeled as groups, and Eddie would be a user. There would be a composition relationship between each Sierra Club chapter and the Sierra Club. Membership relationships would exist between Eddie and the Massachusetts Chapter, between Eddie and the Sierra Club (due to Eddie's membership in the Massachusetts chapter), and between the Sierra Club and Greenpeace.

and I'm just now starting on a project based on the assumption that the groups system can be made to work as described...

so what's the problem? composition_rel relationships work between groups but not membership_rel relationships? permissions don't propagate correctly to end-user parties?