Closed Andreass2 closed 1 month ago
It seems Altinn 2 has no restrictions on deleting from active correspondences. Are we okay with that?
We need to add functionality to delete CorrespondenceAttachments from Correspondences aswell. Are we okey with introducing a third Guid to users and can we change documentation to simply explain the difference between a CorrespondenceAttachment and a Attachment.
Implement Delete Attachment request
Replicate functionality for Altinn 2, but also see if new logic is needed as multiple correspondences can reference the same attachment.
Should remove the attachment from azure storage
NB. Should the attachment be deleted if a active correspondence refrences it?