PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Authentication » LiveUser » Bug #433

Right levels

Details

Submitted2003-12-15 22:44 UTC
Fromkipaten21 at hotmail dot com
Assignedlsmith
StatusClosed
PackageLiveUser
PHP VersionIrrelevant
OSANY
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.