Skip to content

Privilege inheritance in group hierarchies #140

@flack

Description

@flack

Reported by flack on 22 May 1978 02:14 UTC
midcom_core_user includes functionality for recursively collecting privileges from group hierarchies, but the feature is commented out. Re-enabling it would give us an inheritance mechanism where child groups inherit their parents' permissions.

The question is whether this is the desired behavior. Alternatively, parent groups could aggregate their children's privileges (as indicated by the comment in the source), but that might result in lower performance in large group trees. The best way to implement this would probably be to modify the behavior of midcom_core_group::list_memberships() to include subordinate groups.

Another possibility would be to use a config setting or individual MIDCOM_PRIVILEGE_INHERIT privileges to indicate whether or not child groups should inherit their parents' privileges, but there would have be to a UI for that.

Migrated-From: http://trac.openpsa2.org/ticket/149

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions