Sunday, May 17, 2026

Community Directory shows all active people to SuperAdmins

Volleyball Elite Academy development update
Volleyball Elite Academy
Community Directory shows all active people to SuperAdmins

Community Directory shows all active people to SuperAdmins

Volleyball Elite Academy — Development Update • May 17, 2026

Community Directory shows all active people to SuperAdmins

What & Why

Today the Community Directory at only returns active people whose is or . SuperAdmins searching for someone they know exists (e.g. Alexis Rein, who was created via an source) get a misleading "No members found" result, while the admin People Directory at finds the same person immediately. This task makes the Community Directory show every active person to SuperAdmin viewers, while leaving the current narrower view in place for parents, athletes, and non-admin staff (so parent-controlled visibility is preserved).

Done looks like

  • A SuperAdmin browsing (any tab) sees every active academy person, regardless of (, , , , etc.).
  • Searching "alexis rein" in the directory's search box returns Alexis Rein for SuperAdmins.
  • A non-admin viewer (parent, athlete, coach) still sees the existing narrower set: only and only people who have not opted out of being listed publicly.
  • The viewer-self filter (don't show me my own row) still applies for everyone.
  • An existing or new vitest covers all three viewer roles against a fixture that includes one , one , and one -sourced person.

Out of scope

  • Changing what fields parents/athletes can see on each person card (this task only changes who appears in the list, not what's shown about them).
  • Touching the admin People Directory at — it already shows everyone.
  • Fixing the Registrations search (covered separately).
  • Adding any new values or import flows.

Steps

1. Scope the source filter to non-admins — In the community directory list handler, branch the filter on viewer role: SuperAdmins skip the filter entirely, all other viewers keep the existing predicate. Keep and the viewer-self filter unchanged for all roles. 2. Surface a small admin-only badge — When the SuperAdmin view returns a person whose source is not /, render a subtle "Imported" / "Parent registration" badge on the card so admins can tell at a glance which records came from where. 3. Test coverage — Add or extend a route/integration test that seeds three people with distinct values and asserts: SuperAdmin sees all three; coach/parent/athlete sees only the and rows.

Relevant files

- - - -

Volleyball Elite Academy

Reply to this email — we read every reply.

You received this because you have an account with Volleyball Elite Academy.

elitevolleyball.training

No comments:

Post a Comment