Build a hierarchical tree containing all of the groups' permissions
public buildGroupTree ( string $cabin, integer $contextId, array $actions = [], integer $parentId, array $inherited = [], integer $depth ) : array | ||
$cabin | string | Which cabin does this apply to? |
$contextId | integer | Context IDs (see permissions sql) |
$actions | array | Actions in Scope [ [id => label], [id2 => label2] ] |
$parentId | integer | The group whose children we are evaluating |
$inherited | array | |
$depth | integer | the depth of our recursive search |
return | array |