Home » Authentication » LiveUser » Bug #433
Right levels
Details
| 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) |
Comments
[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.
[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.