Skip to content
New issue

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

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

Already on GitHub? # to your account

CRDCDH-635 Admin Submit #259

Merged
merged 17 commits into from
Jan 11, 2024
Merged

CRDCDH-635 Admin Submit #259

merged 17 commits into from
Jan 11, 2024

Conversation

Alejandro-Vega
Copy link
Collaborator

@Alejandro-Vega Alejandro-Vega commented Jan 8, 2024

Overview

This PR aims to transition to use metadataValidationStatus and fileValidationStatus properties from the submission, instead of the stat nodes, to decide whether or not to disable the submit button. It also adds "Admin Submit" to the data submission process to allow bypassing error nodes.

Change Details (Specifics)

  • Added general Submit
  • Added Admin Submit which extends general submit and allows an Admin to bypass some restrictions such as containing errors, or missing metadata/data files

Related Ticket(s)

CRDCDH-594
CRDCDH-635

@Alejandro-Vega Alejandro-Vega added this to the MVP-2.1.0 (M3) milestone Jan 8, 2024
@Alejandro-Vega Alejandro-Vega requested a review from amattu2 January 8, 2024 20:15
amattu2
amattu2 previously approved these changes Jan 9, 2024
Copy link
Member

@amattu2 amattu2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aside from the scenarios mentioned in #253, everything LGTM. Will merge after that PR.


Admin override functionality scenarios tested:

metadataValidationStatus fileValidationStatus
Error Error
Error Warning
Warning Error
Error null

@Alejandro-Vega Alejandro-Vega requested a review from amattu2 January 9, 2024 22:20
@Alejandro-Vega Alejandro-Vega added the 🚧 Do Not Merge This PR is not ready for merging label Jan 10, 2024
@Alejandro-Vega Alejandro-Vega changed the base branch from CRDCDH-594-validation-status to mvp-2.1.0 January 11, 2024 08:49
@Alejandro-Vega Alejandro-Vega dismissed amattu2’s stale review January 11, 2024 08:49

The base branch was changed.

@Alejandro-Vega Alejandro-Vega removed the 🚧 Do Not Merge This PR is not ready for merging label Jan 11, 2024
Copy link
Member

@amattu2 amattu2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Awesome job on the test cases too.

@amattu2 amattu2 merged commit a803d49 into mvp-2.1.0 Jan 11, 2024
@amattu2 amattu2 deleted the CRDCDH-635-Admin-Submit branch January 11, 2024 18:41
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants