KamoCRM

Infilare orgId attraverso ogni maniglione modello, EDIT DOCUMENTS su scrivanie

FixESigService
Shipped
23 settembre 2026 alle ore 10:03 UTC
Author
Kamo
Commit
f30b26a

ESignTemplateService's signer/design handlers (getSigners, upsertSigners, reorderSigners, deleteSigner, saveDesign, getLatestDesign, listDesignVersions, getDesignVersion, revertDesign) provato un modello esisteva con esisteById/findById e si è fermato lì — nessun filtro org affatto. initTemplate e ottenereTemplateByImgId risolto un modello da imgId da solo con lo stesso gap, così org A consegna sopra org B's imgId ha raggiunto il modello uid di B e il nome/email di ogni firmatario, e potrebbe allora salvare o ripristinare il design di B, o cancellare / riscrivere i firmatari di B, da un modello che non possedeva mai. Ogni handler ora passa attraverso richiedonoTemplateInOrg (findByUidAndOrgId) o, per le ricerche imgId, il nuovo trovato della biblioteca condivisaByImgIdAndOrgId — 404 per un altro org, stesso come ottenereTemplate/ aggiornamentoTemplate già fatto. Scrive (aggiornamentoTemplate, initTemplate, upsertSigners, reorderSigners, deleteSigner, saveDesign, revertDesign) inoltre richiedono EDIT DOCUMENTS, il diritto SignatureRequestsController richiede già di agire su un documento; legge rimanere org-scoped only. Dipende da kamo-shared-library@9bde243b E' il momento giusto. spinta Prima. Nuovi test: ESignTemplateOrgIsolationTest (l'isolamento su ****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************** getSigners/upsertSigners) e ESignTemplateControllerTest (EDIT DOCUMENTS gate on writes, not on legge). TemplateVersioning Test e le sue chiamate salvaDesign/revertDesign aggiornate per il nuovo parametro orgId.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing