Home » Authentication » LiveUser » Bug #2206
Admin-Perm-Cont.-DB-Complex GETGROUPS does not report multiple subgroups
Details
| Submitted | 2004-08-24 19:16 UTC |
|---|---|
| From | liveuser at jackanova dot net |
| Assigned | dufuz |
| Status | Closed |
| Package | LiveUser |
| PHP Version | 4.3.8 |
| OS | linux |
| Roadmaps | (Not assigned) |
Comments
[2004-08-24 19:16 UTC] liveuser at jackanova dot net
Description:
------------
getgroups in Admin_Perm_Container_DB_Complex
gets an array with all groups, and, for each group, its properties and subgroup(s). BUT currently, only one subgroup is present.
Apparently this function has been fixed earlier this year, but not completely (?)...
Reproduce code:
---------------
$objRightsAdminPerm = new LiveUser_Admin_Perm_Container_DB_Complex($lu_dsn, $scms_LUOptions);
// Assign Current Language
$objRightsAdminPerm->setCurrentLanguage('EN');
$objRightsAdminPerm->setCurrentApplication(1);
// Get all the groups the logged user is a member of
$groups = $objRightsAdminPerm->getGroups();