Home » Authentication » LiveUser » Bug #420
Prevent addUserToGroup from adding duplicates
Details
| Submitted | 2003-12-12 23:57 UTC |
|---|---|
| From | kipaten21 at hotmail dot com |
| Assigned | arnaud |
| Status | Closed |
| Package | LiveUser |
| PHP Version | Irrelevant |
| OS | ANY |
| Roadmaps | (Not assigned) |
Comments
[2003-12-12 23:57 UTC] kipaten21 at hotmail dot com
Description:
------------
Code needs to be added to LiveUser_Admin_Perm_Container_DB_Complex::addUserToGroup() to make sure it doesn't add a user->group mapping if it already exists.
This can also be done by creating a unique constraint on (perm_user_id, group_id) in LIVEUSER_GROUPUSERS.