eclipse-pass / main

Catch all repository against which issues of general, cross cutting topics are logged.
Apache License 2.0
4 stars 8 forks source link

Document use of policies endpoint of the policy service #525

Closed jabrah closed 1 year ago

jabrah commented 1 year ago

Policy Service in the UI

PolicyService#getPolicies:

Submission workflow, policies step:

WorkflowPolicies component doesn't do much. Renders a list of PolicyCard components

PolicyCard

Does this require the fetching of Policies to be done in the backend?

No it seems like we could gather the Policies in the UI:

If we had business logic driving policy selection, then it would be a good idea to have that done in the backend. For example, if we were to automatically match a submission to a Method A journal, we know the submission will already meet PMC's policy requirements, as the journal will / already has submitted the article.

However, some user input may be required in some cases. For non-MethodA journals, a user may have already had the manuscript submitted to PMC or another valid repository. How should PASS be informed of this at this point in the submission? This input is used to set the effectivePolicies property on the Submission. Should we eliminate this property and assume all policies are applicable, then in the Repositories step update the user input appropriately to let the user decide where to route the submission?