Opened 12 years ago
Closed 12 years ago
#4495 closed defect (bug) (fixed)
User can't request membership to private group when an invite exists
Reported by: | boonebgorges | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 1.6.2 | Priority: | low |
Severity: | minor | Version: | 1.6 |
Component: | Groups | Keywords: | |
Cc: |
Description
Steps to reproduce:
1) With user A, create a private group.
2) Invite user B to private group.
3) Logged in as user B, go to the Groups Directory
4) Attempt to request membership, either in the Directory, or in the single group header, or on the Request Membership tab of the group
5) Cry many tears of frustration
This regression was introduced in r5974, where a check was put in place to keep users from being joined to groups multiple times. That check is too generous; it should only check for confirmed and non-banned group memberships (and definitely not invitations, which are handled elsewhere in the group invitation process).
I messed up the commit message on r6276 and r6277. They fix this ticket (trunk and branch).