Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow attendee to appear anonymous in attendee lists for events #513

Merged
merged 21 commits into from
Jan 26, 2024
Merged

Conversation

mauteri
Copy link
Contributor

@mauteri mauteri commented Jan 26, 2024

Description of the Change

This change adds a setting to global event settings to enable anonymous RSVPs for events. In addition, each event can toggle whether the event will allow anonymous RSVPs.

When enabled, a member RSVPing to an event has the choice to show up listed as anonymous. Only users with edits_posts capability can see the identity of the member, all other members and non-members will see the person as anonymous.

If the person chooses to change attendance to "not attending" and they are anonymous, the record will be removed and not placed in "not attending" view. There's a few reasons for this.

  • Someone anonymous that is not attending holds no value.
  • In the rare case the anonymous RSVP feature is disabled for the event that members have already responded to, we do not want to reveal the member's identity.

In the situations that anonymous RSVP is disabled after a member marks them self anonymous, the anonymous feature will remain for that person.

Screenshot 2024-01-25 at 9 19 40 PM Screenshot 2024-01-25 at 9 19 50 PM Screenshot 2024-01-26 at 8 53 38 AM Screenshot 2024-01-25 at 9 20 20 PM

Closes #103

How to test the Change

  • Deactivate/Reactivate plugin for database updates.
  • Global setting is enabled by default, so new events will have anonymous RSVP enabled.
  • If Global setting is disabled, new events will not have anonymous RSVP checked by default.
  • If enabled, checkbox to be anonymous will be included in RSVP modal.

Changelog Entry

N/A

Credits

Props @mauteri

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@mauteri mauteri marked this pull request as draft January 26, 2024 02:00
@mauteri mauteri marked this pull request as ready for review January 26, 2024 14:00
@mauteri mauteri merged commit 93dbb8f into main Jan 26, 2024
10 checks passed
@mauteri mauteri deleted the GP-103 branch January 26, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

USER Allow attendee to appear Anonymous in attendee lists for events
2 participants