owner:jtarragon@yaco.es resolution_fixed type_enhancement | by esanchez@yaco.es
This only affects Auto-Post of drafts in 00 version that belongs to an IETF WG.
When Auto-Post is clicked we have to check:
- If a prior IdApprovedDetail exists for that draft filename. You have to add the IdApprovedDetail model for id_approved_detail table.
- If it exists then just perform Auto-Post
- If not:
- Do not post the Draft, instead change the status of the submission to 10 (Initial Version Approval Requested)
- Send an email to WG chairs to inform that a draft submission is waiting for approval. From a submission you can get the chairs as
submission.group_acronym.wgchair_set
Use ietf.utils.mail.send_mail to send the mail as in ietf.submit.forms.MetaDataForm.send_mail_to_secretariat. It checks if you are in development mode so no real mails are sent. Also define an EMAIL_COPY_TO into your settings_local so you can receive a copy of the email for testing purposes.
- In the draft_status view add a 'Approve' button for submission with status 10. When this button is clicked the Auto-Post should be completed. Don't get bother about who is allowed to use this button, I'll add this check later.
Issue migrated from trac:596 at 2022-03-04 01:44:25 +0000
owner:jtarragon@yaco.esresolution_fixedtype_enhancement| by esanchez@yaco.esThis only affects Auto-Post of drafts in 00 version that belongs to an IETF WG.
When Auto-Post is clicked we have to check:
submission.group_acronym.wgchair_setUse
ietf.utils.mail.send_mailto send the mail as inietf.submit.forms.MetaDataForm.send_mail_to_secretariat. It checks if you are in development mode so no real mails are sent. Also define anEMAIL_COPY_TOinto your settings_local so you can receive a copy of the email for testing purposes.Issue migrated from trac:596 at 2022-03-04 01:44:25 +0000