mirror of
https://github.com/documenso/documenso.git
synced 2026-10-03 02:04:40 +10:00
Accepts allowDocumentRejection in the organisation and team settings update routes, adds it to the default organisation (true) and team (inherit) settings, and copies the merged value into the document meta when a document or template is created via extractDerivedDocumentMeta. Documents created from a template take the template's value, with an optional override on envelope.use. Exposes the field in the recipient signing response and refuses rejectDocumentWithToken requests for documents that disallow rejection, since the endpoint can be called directly without the UI. Extends the document preferences and envelope settings e2e tests to cover inheritance into the team settings and new documents, and persistence of the per-document value from the editor.