I modeled this off the Participant viewset, let me know if that's not what you had in mind. Also I called the query parameter visit_id to make it more clear to the front-end, but let me know if you think visit is better.
Issue #451 mentioned permissions, but it looks like they are already set correctly in users_and_groups.py
I modeled this off the Participant viewset, let me know if that's not what you had in mind. Also I called the query parameter
visit_id
to make it more clear to the front-end, but let me know if you thinkvisit
is better.Issue #451 mentioned permissions, but it looks like they are already set correctly in users_and_groups.py