KamoCRM

Doc Links schema, rights and notification kinds (DL1.1, DL2.2, DL2.6)

Featurekamo-shared-library
Shipped
November 13, 2026 at 8:13 AM UTC
Author
Kamo
Commit
330f68a

- ImgShare gains the external-recipient grant columns (SW_EMAIL, ROLE, ALLOW_DOWNLOAD/PRINT, VERSION_MODE, PINNED_VERSION_ID, SOURCE, SOURCE_REF, LINK_ID, CLAIMED_MEMBER_ID, REVOKED_AT/BY), every one nullable or DB-defaulted, with effective*() readers so legacy rows read as before. - New com.kamo.z.shared.docshare: DocShareLink (copy of QuoteShareLink: hashed 43-char token), DocViewSession, DocViewPage, DocAccessRequest, OrgDocSharingSettings + repositories; STRING enums DocShareRole, DocLinkType, DocVersionMode, DocShareSource, DocAccessRequestStatus, DocViewState, DocLinkExpiry (1H..1Y, NEVER); DocLinkTokens mint/sha256/prefix. - Rights 713-716: SHARE_DOCS_EXTERNALLY (root) > SHARE_DOCS_ANYONE_LINK, MANAGE_DOC_SHARING_POLICY, VIEW_ORG_EXTERNAL_ACCESS (DOCS). RoleRightHierarchyTest: 460 / children 302 / rootsWithChildren 51 / standalone 107 / roots 158. - NotificationKind DOC_VIEWED, DOC_ACCESS_REQUESTED, DOC_ACCESS_DECIDED appended last. Hand DDL applied to production as kamo before this push (all indexes valid).

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