PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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.