Raise compliance report upload limit to 30MB

Third-party compliance report PDFs were rejected above 10MB in the
upload dialog. Increase the client-side Dropzone limit and enforce the
same cap on the backend file validator.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Bryan FRIMIN <bryan@frimin.fr>
This commit is contained in:
Cursor Agent
2026-07-02 06:20:55 +00:00
committed by Sacha Al Himdani
parent 2fb06d742e
commit a0329a9696
2 changed files with 3 additions and 2 deletions

View File

@@ -173,13 +173,13 @@ export function UploadComplianceReportDialog({
<form onSubmit={e => void handleSubmit(onSubmit)(e)}>
<DialogContent padded className="space-y-4">
<Dropzone
description={__("Only PDF files up to 10MB are allowed")}
description={__("Only PDF files up to 30MB are allowed")}
isUploading={isUploading}
onDrop={handleDrop}
accept={{
"application/pdf": [".pdf"],
}}
maxSize={10}
maxSize={30}
/>
{uploadedFile && (