Skip to content

fix(frontend): show owners the participant pages a participant sees - #456

Merged
sabinem merged 1 commit into
mainfrom
fix/owner-participant-view-teams
Dec 1, 2026
Merged

sabinem merged 1 commit into
mainfrom
fix/owner-participant-view-teams

Conversation

@sabinem

@sabinem sabinem commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Participant View shows owners what participants see

Before: with See team assignments off, an Owner in Participant View still saw the team list, teams on profiles and "You are not on a team yet". Participants are told assignments aren't published. Now every Participant View page follows the switch for Owners too.

  • Owners: Teams, Overview, profiles, Submissions, Our submission, Voting and Results match what participants see.
  • Manage pages still show Owners every team.

Left out: a single team's page and a single submission's page stay open to Owners, because Manage links to them. After a reload, the team page's back link can fall back to Teams, which Owners now can't open while the switch is off.

Participant pages read teams with whatever the viewer may list. An owner
may always list them, so with View teams off an owner still saw the team
list, teams on participant profiles, a filled ballot and "you are not on
a team yet" where participants are told assignments are not published.

Add teamsPublished/listPublishedTeams, which go by CAPABILITY_VIEW_TEAMS
rather than the permission, and use them on every participant page:
Teams, Overview, participant profiles, Submissions, Our submission,
Voting, Results and the sidebar. Manage pages keep the owner's full view,
and so do a single team's and submission's pages, which Manage links to.
@sabinem
sabinem merged commit 2af6eac into main Dec 1, 2026
4 checks passed
@sabinem
sabinem deleted the fix/owner-participant-view-teams branch December 1, 2026 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant