PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Authentication » LiveUser » Bug #2206

Admin-Perm-Cont.-DB-Complex GETGROUPS does not report multiple subgroups

Details

Submitted2004-08-24 19:16 UTC
Fromliveuser at jackanova dot net
Assigneddufuz
StatusClosed
PackageLiveUser
PHP Version4.3.8
OSlinux
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();