Altinn / altinn-correspondence

Meldingstjenesten
2 stars 0 forks source link

Publish Correspondence should happen at ValidFrom timestamp #105

Closed Andreass2 closed 2 weeks ago

Andreass2 commented 1 month ago

A correspondence should not be marked as publish before the ValidFrom.

### Tasks
- [x] Add new Status (Ready for publish) when all attachments is uploaded.
- [x] Add hangfire task to publish the correspondence at ValidFrom time.
- [x] When the correspondence is published, also trigger publish event.
- [x] Update tests with the new status
- [x] Check delete logic with the new status.