Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Agency Proposal Screen #148

Open
maxachis opened this issue Feb 18, 2025 · 0 comments
Open

New Agency Proposal Screen #148

maxachis opened this issue Feb 18, 2025 · 0 comments
Labels

Comments

@maxachis
Copy link
Collaborator

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:

  1. We ensure the /agencies POST endpoint can submit a new agency
  2. When such an agency is submitted, an ID is returned which can be associated with proposed data sources
  3. 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:

  1. Modification to the agencies table to replace the approved column with multiple statuses such as pending, approved, rejected
  2. 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)
  3. Modifying the /match/agencies endpoint to optionally allow pending agencies
  4. Being allowed to submit a pending agency to a pending data source
  5. Determining how to handle those data sources if the pending agency is rejected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant