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

Bug #7050 unimplyRight: 2nd parameter does not work
Submitted: 2006-03-07 14:07 UTC
From: goethals_d at hotmail dot com Assigned: lsmith
Status: Closed Package: LiveUser_Admin (version 0.16.10)
PHP Version: 5.0.4 OS: WXP
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 23 + 38 = ?

 
 [2006-03-07 14:07 UTC] goethals_d at hotmail dot com (dominique)
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

Comments

 [2006-03-07 19:27 UTC] lsmith
corrected package
 [2006-03-09 23:45 UTC] lsmith
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.