Closed obrienad closed 2 years ago
@mariel-oar I tagged this client action needed
because we need to answer this question.
When we switch confirm/reject to the the responsibility of the moderation team by default, what should we do about any existing lists that are awaiting confirm/reject? Should they stay the responsibility of the contributor or should we reassign them to be the responsibility of the moderation team?
I'm trying to figure out what that would mean in terms of number of facilities...based on this report it looks like there could be up to ~65k facilities in pending confirm / reject status. is that correct?
cc: @vrwOAR
@obrienad @jwalgran, we would like to have these facilities remain in the user's confirm / reject queue so that our team can stay focused on the new data coming in.
Thanks, @mariel-oar. We will set the responsibility for any existing lists to CONTRIBUTOR
Overview
Move confirm/reject to a backend workflow, with the ability to give specific users access to confirm/reject specific lists. This will improve data quality as the OAR team is better positioned to understand when a facility meets the criteria for being matched. The requirement includes that there must be a confirm/reject queue populated with pending facility items. This does not include flagged queue).
Technical Implementation
match_responsibility
field to bothContributor
andFacilityList
models.MODERATOR
orCONTRIBUTOR
Contributor
andFacilityList
should beMODERATOR
BUT any existing lists at the time of migration should have a default value.FacilityList.match_responsibility
first set toCONTRIBUTOR
so that all the existing list values are set appropriately, then modified to beMODERATOR
.match_responsibility
field can be edited for bothContributor
andFailityList
via the Django adminFacilityList
is created, copy the value ofmatch_responsibility
from theContributor
to theFacilityList
match_responsibility
.match_responsibility
isCONTRIBUTOR
match_responsibility
isMODERATOR
match_responsibility
.match_responsibility
isMODERATOR
show a message that the list is awaiting moderation/api/facility-lists
match_responsibility
andstatus
filter parameters to/api/facility-lists
status
supports a single value,MATCHED
and only returns lists where the items are in any of the match status/api/facility-lists
is oldest list firstmatch_responsibility=MODERATOR&status=MATCHED
match_responsibility
value