Skip to content

Participants service ​

The participants service holds the contingent's list of participants: who is in the contingent, which unit they belong to, and what they answered in the registration forms, all read from Scoutnet. It is part of the WSJ27 project's back-end, wsj27-project-api, which lives in a repository of its own and is released on its own (ADR 013). Campfire reaches it under /api/project on its one origin (ADR 012).

What Campfire uses it for ​

  • Listing people – the members of one unit, or the whole contingent at once.
  • Showing one person – their contact details and, for those allowed, their health and dietary answers.
  • Storing a patrol – a unit's leaders place their deltagare in patrols, one person at a time, kept in Scoutnet.
  • Knowing the signed-in person – their own unit and how they travel.
  • Deciding the roles – every WSJ27 role is minted here, and the auth service puts them in each session.

A leader asks for their own unit's listing, and the contingent management team for the whole contingent's, which the service answers only for them. The participants module shows that list, and the cases module reads the names it shows a case with – the whole contingent for the management team, and for a leader their own unit and the names of every leader and the management team.

Who may see what ​

The service decides what each caller gets, so the front-end never filters what it should not have received.

CallerSees
A unit leaderTheir own unit, and the name of every leader and member of the management team
The contingent management teamEveryone's contact details, and health answers only with the health team's role or a personal grant
Anyone elseNobody

Any leader or member of the management team may read every adult's name, because those are the people on cases. A person the caller may not see answers exactly as someone who does not exist, so nobody can learn who is in the contingent by asking. A caller who may see a person but not at the level asked for is refused outright rather than handed less.

The contingent management team's functions sit in a registration question only project admins see, and the service reads them from there. What leaves the service is decided by a template in its repository – a form question the template does not carry never reaches Campfire.

Locally ​

In the local environment, the mock answers in its place with an invented, seeded contingent and the same access rules (ADR 021).