Closed MakotoTheKnight closed 7 years ago
Scope expansion: We intend to remove the Participants table after this is all said and done (final task in the epic); that noted, we need to migrate all Responses over from the Participant type to use the new ToolMember type. In addition to this, we will also migrate over the InventoryResponse model to use Response instead.
After investigating, it turns out that we don't make any uses of the InventoryResponse table anywhere in live code. We can safely disregard it and capture its removal in another task.
After some more digging, it seems like we don't (luckily) have any responses created by facilitators with semi-live data. We'll move forward with this assumption, but let's keep it in the back of our mind.
Scope expansion: Due to the way that permissions are granted on tools, we're going to need to make the model AccessRequest polymorphic to take this into account. While no data in production exists for the ancillary models InventoryAccessRequest and AnalysisAccessRequest, we will author a full migration path for all three of these models regardless.
We will rely on this particular endpoint to handle any updates or changes needed to revise the membership status of anyone attached to an assessment, inventory, or analysis.
Business rules:
tool_type
andtool_id
)tool_type
andtool_id
)