As a campaign organizer, if a participant registers privately, I want their username to only be displayed to them and other campaign organizers in the 'more details' modal, so that I can register with confidentiality.
Acceptance Criteria:
- Given a participant registers publicly
- When viewing the participant list as an organizer
- Then their username should be displayed to everyone
- And they should be included in the registered users count
- And they should not be included in the privately registered users count
- When viewing the participant list as an organizer
- Given that there are privately registered participants
- When viewing the participant list as any user
- Then the private registrations should be included in the registered users count
- And they should be included in the privately registered users count
- When viewing the participant list as any user
- When there is at least 1 registered participant (whether the list is truncated or not truncated)
- Then the count of private registrations is shown
- When viewing the participant list as an organizer
- Then the private registrations username should be visible with a padlock icon
Visual examples:
Organizer view





