Once the new schema is in place (T318120), we will need to change the backend code so that it supports the concept of private registration. Possible summary of the things to do:
- Add a boolean flag to the relevant method(s) in ParticipantsStore
- Add a private field + getter to the Participant class
- Add a fluent setter for this option to RegisterParticipantCommand
====Acceptance criteria====
- Add the necessary logic to the backend code to allow private registration of participants
- The user interface should function in the following way:
** Private registrant usernames should be displayed to organizers
** Private registrant usernames should not be displayed to non-organizers. Instead, non-organizers should just see the number of private registrants in the participant list (for example: "13 private registrations"). The reason why we want to display the number of private registrations is so that people don't think we have a bug in our code and miscalculated the number of registrants.
**Note**: this would not be exposed in the UI yet.