Home » Authentication » LiveUser_Admin » Bug #7050
unimplyRight: 2nd parameter does not work
Details
| Submitted | 2006-03-07 14:07 UTC |
|---|---|
| From | goethals_d at hotmail dot com |
| Assigned | lsmith |
| Status | Closed |
| Package | LiveUser_Admin |
| PHP Version | 5.0.4 |
| OS | WXP |
| Roadmaps | (Not assigned) |
Comments
[2006-03-07 14:07 UTC] goethals_d at hotmail dot com
Description:
------------
liveuser_rights contains 1 record with right_id=5 and has_implied=1.
liveuser_implied_right contains 1 record with right_id=5 and implied_right_id=1.
When deleting implied rights for right_id=5, the value of has_implied remains, whether the 2nd parameter of unimplyRight is set to true or to false
Test script:
---------------
$filter = array('right_id' => 5);
$deleteImpliedRight = $LUA->perm->unimplyRight($filter, true);
Expected result:
----------------
If 2nd parameter = true, has_implied should be set to 0.
Actual result:
--------------
has_implied=1