Open djw4erg opened 2 months ago
@djw4erg Here are the user-related checks that need to happen on submit:
Add permissions check on submit
CBS permissions API will return an additional value in the JSON for the cert statement status
if missingCertificationStatements is true, show message
if the user no longer has the ability to submit any of the selected files (based on the updated CBS permissions list), show message
The changes to the CBS permissions API will be completed via https://camddevelopment.atlassian.net/browse/EASEY-420
Testing will be blocked by https://camddevelopment.atlassian.net/browse/EASEY-420
Overview
The purpose of this ticket is to ensure that needed submission validation checks occur before files are submitted. This includes checks on:
Original Need
Originally this ticket was focused on the File Submission Criteria and was intended to duplicate checking that (should) already occur in the user interface in the "submission" end point(s). The purpose of this duplication was to ensure that the submission endpoints directly performed the verification needed for submissions before performing the submissions. At the time this was needed in case users directly used the endpoints to perform a submission instead of using the provided endpoints.
However, to perform a submission the users of the "submission" endpoints need a bearer token. With the implementation of ICAM a user can only get a bearer token with a call from an EASEY URL. As a result, an absolute need does not exist to perform checking in the "submission" endpoints that already occurs in the UI before calling the endpoints.
New Understanding
General Notes
User Conditions
Notes about Add Certification Statement Status to Permissions API Ticket
File Submission Criteria
Monitoring Plan (MP) Submission Conditions
Emission Report (EM) Submission Conditions
QA Test (QAT) Submission Conditions
QA Certification Event (QCE) Submission Conditions
Test Extension and Exemption (TEE) Submission Conditions
Acceptance Tests