icipe-official / icipe-official/vectoratlas-software-code

Add API endpoint to send review feedback

Open
#183 0 comments 0 reactions 1 assignee View on GitHub

@shishi5089 is already working on this.

Since Jan 26, 2023.

5 sprint 8
Dominant language
TypeScript
Stars
2
Forks
8
Avg merge
5d 4h
Merged PRs (30d)
11

Description

A new API endpoint needs to be added for a reviewer to send feedback on a particular dataset, constrained to those with the 'reviewer' role. It should accept the dataset-id and the free text review. The endpoint should change the status of the dataset to 'in review', and email the uploader and review list with the review feedback (including the dataset-id), with clear instructions to the uploader for how to re-upload the data.

Acceptance Criteria:

  • A new API endpoint exists, constrained to the 'reviewer' role. Attempts to hit this endpoint without the correct role will be met with a 403 error
  • The endpoint accepts a dataset-id and review feedback as free text, both required fields. Requests without one or the other will fail.
  • The endpoint changes the status of the dataset to 'in review'
  • The endpoint emails the uploader and review list with the review feedback (including the dataset-id), with clear instructions to the uploader for how to re-upload the data.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.