Basically, my candidates was showing a user who has already gotten ROS for a site I don't have access to and making them actionable. In talking with Tavy, we've determined that if a user gets hired for a site I don't have access to, there can be no further action on that participant.
In this PR, we're doing an inner join which means the participant no longer gets returned if they were ROS'd for a site I don't have access to. This should be okay for now. (Ideally, the participant will be returned with an empty rosStatuses so that they show up and still need to be acknowledged, but I was having some trouble).
https://freshworks.atlassian.net/browse/HCAP-1304
Basically, my candidates was showing a user who has already gotten ROS for a site I don't have access to and making them actionable. In talking with Tavy, we've determined that if a user gets hired for a site I don't have access to, there can be no further action on that participant.
In this PR, we're doing an inner join which means the participant no longer gets returned if they were ROS'd for a site I don't have access to. This should be okay for now. (Ideally, the participant will be returned with an empty
rosStatuses
so that they show up and still need to be acknowledged, but I was having some trouble).