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

Prevent addUserToGroup from adding duplicates

Details

Submitted2003-12-12 23:57 UTC
Fromkipaten21 at hotmail dot com
Assignedarnaud
StatusClosed
PackageLiveUser
PHP VersionIrrelevant
OSANY
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.