Fix access to public documents for unauthenticated users

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2025-10-06 11:22:04 +02:00
parent fad49080f6
commit cf9418d487
2 changed files with 6 additions and 6 deletions

View File

@@ -581,11 +581,11 @@ type Mutation {
exportDocumentPDF(
input: ExportDocumentPDFInput!
): ExportDocumentPDFPayload! @mustBeAuthenticated(role: USER)
): ExportDocumentPDFPayload! @mustBeAuthenticated(role: NONE)
exportReportPDF(
input: ExportReportPDFInput!
): ExportReportPDFPayload! @mustBeAuthenticated(role: USER)
): ExportReportPDFPayload! @mustBeAuthenticated(role: NONE)
acceptNonDisclosureAgreement(
input: AcceptNonDisclosureAgreementInput!