Adds PermittedAttachmentFileExtensions config property in CasesApiOptions (base, AdminCasesApiOptions or MyCasesApiOptions) which specifies the permitted file extensions to check when uploading an attachment to an existing case.
Replaces hardcoded file extension checks in UploadAdminCaseAttachment of AdminCasesController to use the new PermittedAttachmentFileExtensions.
Breaking change: Adds file extension checks in UploadCaseAttachment of MyCasesController to use the new PermittedAttachmentFileExtensions.
If no PermittedAttachmentFileExtensions are provided in project level, the default values will be used.
In case of failure, 400 Bad Request will be returned.
Adds PermittedAttachmentFileExtensions config property in CasesApiOptions (base, AdminCasesApiOptions or MyCasesApiOptions) which specifies the permitted file extensions to check when uploading an attachment to an existing case.