Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RecIM: Include Participant's Hall in Admin view of Team's Participants #1069

Merged
merged 3 commits into from
Sep 25, 2024

Conversation

EjPlatzer
Copy link
Contributor

Per CTS Ticket #175058, we should display a team participant's hall to admins. This PR works in concert with gordon-cs/gordon-360-ui#2372, but neither of them depend on each other.

I added the participant's Hall to the ParticipantView in the database. I also updated the API to inlcude the Hall in the ParticipantExtendedViewModel, but only when the viewer is an admin.

This code is a little messy because we have to pass an extra parameter describing whether the view of the participant is for an Admin. However, given the spaghetti nature of the RecIM data logic, it seemed like the cleanest way to enforce that the Hall is only included in ParticipantExtendedViewModel when the viewer is an admin.

@EjPlatzer EjPlatzer merged commit 764a5b4 into develop Sep 25, 2024
3 checks passed
@EjPlatzer EjPlatzer deleted the recim-player-hall branch September 25, 2024 16:10
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.

2 participants