RTx::RightsMatrix::Util - Subroutines for rights processing.
Utility subroutines to support RTx::RightsMatrix.
These routines probably shouldn't be used outside of RightsMatrix.
You can find repository of this project at svn://svn.chaka.net/RTx-RightsMatrix
Todd Chapman <email@example.com>
A helper function which takes an RT:Group and reutrns a list of lists of RT::Group objects. So if group A has group B as member and group B has groups C and D as a member, the resulting lol looks like:
[ [ 'A', 'B'. 'C' ], [ 'A', 'B'. 'D' ] ]
If group A has a member group E then it would look like this:
[ [ 'A', 'E' ], [ 'A', 'B'. 'C' ], [ 'A', 'B'. 'D' ] ]
The order of the outer list is not guaranteed.
Returns a list of ACEs for a given object and right.