#4113 closed defect (bug) (fixed)
Users can be added to groups twice
Reported by: | johnjamesjacoby | Owned by: | |
---|---|---|---|
Milestone: | 1.6 | Priority: | normal |
Severity: | normal | Version: | 1.5.4 |
Component: | Groups | Keywords: | |
Cc: |
Description
Experienced a strange race condition where the same user was in the same group twice. Haven't done any investigating yet, but seems likely we need to check in BP_Groups_Member::save() for the user already being in the group before we insert them.
Change History (4)
#2
@
12 years ago
(In [6276]) Ensure that already-invited members can also request membership to private groups
This fixes a regression from r5974, in which an overly greedy check was put in
place to avoid duplicate group memberships. The pre-save check now only bails
when a confirmed membership is found.
Fixes #4113
#3
@
12 years ago
(In [6277]) Ensure that already-invited members can also request membership to private groups
This fixes a regression from r5974, in which an overly greedy check was put in
place to avoid duplicate group memberships. The pre-save check now only bails
when a confirmed membership is found.
Fixes #4113
(In [5974]) Check to see whether a user is already a member of a group before creating a new membership in BP_Groups_Member::save(). Fixes #4113