Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.4.0

Bug #15433 With complex Perm container, removeUser doesn't clean up area_admin_areas
Submitted: 2008-12-29 05:00 UTC
From: pcharb Assigned:
Status: Open Package: LiveUser_Admin (version 0.3.9)
PHP Version: 5.2.4 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2008-12-29 05:00 UTC] pcharb (Louis-Pierre Charbonneau)
Description: ------------ The Complex perm container should implement removeUser to clean up the link to the Test script: --------------- $data = array('application_define_name' => 'mytestapp'); $appId = $LUA->perm->addApplication($data); $data = array('application_id' => $appId,'area_define_name' => 'mytestarea'); $areaId = $LUA->perm->addArea($data); $data = array('handle'=>'mytestuser','passwd'=>'secret','perm_type'=>3); $userId = $LUA->addUser($data); echo "userId: $userId - areaId: $areaId"; $data = array('area_id' => $areaId,'perm_user_id' => $userId); $LUA->perm->addAreaAdmin($data); $LUA->removeUser($userId); Expected result: ---------------- The record created in the area_admin_areas has been deleted. Actual result: -------------- The record create in the area_admin_areas is not deleted.

Comments