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 #348

No updateUser() method for LiveUser_Admin_Perm_Common

Details

Submitted2003-12-03 22:31 UTC
Fromanon at anon dot com
Assignedarnaud
StatusClosed
PackageLiveUser
PHP Version4.3.3
OSANY
Roadmaps(Not assigned)

Comments

[2003-12-03 22:31 UTC] anon at anon dot com

Description:
------------
The class LiveUser_Admin_Perm_Common has methods to add/remove users to/from the table LIVEUSER_PERM_USERS, but no method to update a user entry.

If a user's auth_user_id gets changed via LiveUser_Admin_Auth_Common::changeUser() or LiveUser_Admin_Auth_Container_DB::updateUser(), then the mapping between the perm_user_id and the auth_user_id will be lost since there is no way to update the auth_user_id in LIVEUSER_PERM_USERS.

LiveUser_Admin_Perm_Common::updateUser() should be created to update the auth_user_id in LIVEUSER_PERM_USERS.

Also LiveUser_Admin_Auth_Common::changeUser() should be renamed to LiveUser_Admin_Auth_Common::updateUser() for naming convention compliance.