As a campaign participant, if I register privately, I want my username to only be displayed to me and the campaign organizers in the 'more details' moda;, so that I can register with confidentiality.
Acceptance Criteria:
- Given a participant registers publicly
- When viewing the participant list as any user
- 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 any user
- 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 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 organiser
- Then the private registrations username should be visible with a padlock icon
- When viewing the participant list as non-organiser
- Then the private registrations should not be visible
- When viewing the participant list as a privately registered participant
- Then their username is visible with the padlock icon
- And no other private participants are displayed.
- When viewing the participant list as any user
Visual examples:
Organizer view









