You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new data source may not have an associated agency in the database.
In these cases, we should be able to submit a new agency which can then be linked to the data source.
The way this process would work is:
We ensure the /agenciesPOST endpoint can submit a new agency
When such an agency is submitted, an ID is returned which can be associated with proposed data sources
We add onto the Source Collector Retool application such that, if an agency is not found, a new one can be proposed and immediately submitted.
This is all predicated on the assumption of admin-only access. If we ever open these components up to non-admins, some changes may need added, including:
Modification to the agencies table to replace the approved column with multiple statuses such as pending, approved, rejected
Being able to submit pending agencies and receive an ID that can be used for data sources (this would require modifying the /agencies endpoint or the creation of a new non-admin endpoint)
Modifying the /match/agencies endpoint to optionally allow pending agencies
Being allowed to submit a pending agency to a pending data source
Determining how to handle those data sources if the pending agency is rejected.
The text was updated successfully, but these errors were encountered:
A new data source may not have an associated agency in the database.
In these cases, we should be able to submit a new agency which can then be linked to the data source.
The way this process would work is:
/agencies
POST
endpoint can submit a new agencyThis is all predicated on the assumption of admin-only access. If we ever open these components up to non-admins, some changes may need added, including:
agencies
table to replace theapproved
column with multiple statuses such aspending
,approved
,rejected
pending
agencies and receive an ID that can be used for data sources (this would require modifying the/agencies
endpoint or the creation of a new non-admin endpoint)/match/agencies
endpoint to optionally allowpending
agenciesThe text was updated successfully, but these errors were encountered: