Home » Authentication » LiveUser » Bug #348
No updateUser() method for LiveUser_Admin_Perm_Common
Details
| Submitted | 2003-12-03 22:31 UTC |
|---|---|
| From | anon at anon dot com |
| Assigned | arnaud |
| Status | Closed |
| Package | LiveUser |
| PHP Version | 4.3.3 |
| OS | ANY |
| 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.