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

Bug #433 Right levels
Submitted: 2003-12-15 22:44 UTC
From: kipaten21 at hotmail dot com Assigned: lsmith
Status: Closed Package: LiveUser
PHP Version: Irrelevant OS: ANY
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 : 38 - 36 = ?

 
 [2003-12-15 22:44 UTC] kipaten21 at hotmail dot com
Description: ------------ In methods LiveUser_Admin_Perm_DB_Common::grantUserRight() LiveUser_Admin_Perm_Container_DB_Medium::grantGroupRight() code needs to be added to prevent a right from being granted if it already is granted.

Comments

 [2003-12-15 22:45 UTC] kipaten21 at hotmail dot com
Also, code needs to be added to update the 'has_level' field in LIVEUSER_RIGHTS when $right_level is set.
 [2003-12-15 22:51 UTC] kipaten21 at hotmail dot com
Also the methods LiveUser_Admin_Perm_Container_DB_Complex::grantGroupRight() LiveUser_Admin_Perm_Container_DB_Complex::grantUserRight() should be created, derived from LiveUser_Admin_Perm_DB_Common::grantUserRight() LiveUser_Admin_Perm_Container_DB_Medium::grantGroupRight() since levels are only available to the Complex model. Then the methods LiveUser_Admin_Perm_DB_Common::grantUserRight() LiveUser_Admin_Perm_Container_DB_Medium::grantGroupRight() should be modified to not accept a right level.
 [2003-12-18 20:03 UTC] arnaud
Can you provide a patch for those ?
 [2004-01-23 08:25 UTC] lsmith
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.