Model the master notes and the right that guards the org's

Featurekamo-shared-library
Ya
22 Agosti 2026, 08:50 UTC
Mwandishi
Kamo
Ahadi ya
48cde37

A master note is the one note a member — or an organisation — always has. "My Master Note" is provisioned per membership; "Our Master Note" is one per organisation and appears on every member's launchpad. Both are ordinary `notes` rows carrying a MASTER_SCOPE, not a new table, so the Lexical editor, autosave, versions, colours, the floating sticky and the RAG publish all keep working with nothing to keep in step. An ORG row carries a NULL MEMBER_ID on purpose: every member-scoped finder matches `n.member.id = :memberId`, so the organisation's note can never be returned by one member's private listing, update or delete. Reads that should see it go through the new `…VisibleToMember` finders, which widen to it explicitly; writes keep the member-scoped pair and so cannot reach it at all. MANAGE_ORG_MASTER_NOTE (228) is a standalone root with a null serviceType, following MANAGE_ORG_BRANDING: the role, job-title and department editors only render a service's section when the org has that app enabled, and the org master note is on every launchpad whether or not Notes is switched on. Not parented to VIEW_NOTES for the same reason — KBService serves the note without a notes right.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei