DataFn
Use Cases

Sharing Patterns

Canonical namespace, visibility, grant, and sync patterns for Collections, Memotron, Selftron, Pointron, Finatron, Feedtron, and Compoundum.

This page maps each required domain to one canonical sharing pattern.

Canonical Matrix

DomainNamespaceVisibility ModelGrant TypeSync Behavior
Collectionsuser:{owner}Private by default, explicit shareRecord grantBackfill on share, revoke tombstone on unshare
Memotronhousehold:{id}Shared household space + private notesScope + record grantsPull filters by principal membership
Selftronuser:{owner}Personal by defaultRecord grants onlyOffline pull returns only actor-visible records
Pointronorg:{tenant}Team-scoped analyticsScope grants for rolesRole updates change pull visibility
Finatronorg:{tenant}Strict role-bound finance dataRecord grants, no cross-namespace shareForbidden writes for viewer roles
Feedtroncommunity:{id}Mixed public + private moderation flowsScope grant for moderators, record grants for escalationsPush denied if moderation principal missing
Compoundumpartner:{id}Cross-team collaboration with boundariesRecord grants with explicit principalsReconcile preserves namespace boundaries

Collections

Happy Path

Owner shares one collection item with user:bob at viewer level.

Forbidden Case

Non-owner attempts to share the same item and receives FORBIDDEN.

Memotron

Happy Path

Household admin grants scope=resource access to team:parents for family notes.

Forbidden Case

A child principal tries to revoke parent scope grant and is denied.

Selftron

Happy Path

User shares one journal entry with therapist principal for review.

Forbidden Case

Anonymous actor attempts merge on private entry and is denied.

Pointron

Happy Path

Tenant admin grants viewer access to KPI dashboards for team:ops.

Forbidden Case

External principal outside tenant namespace attempts read without grant.

Finatron

Happy Path

Finance owner grants editor on one budget record to user:controller.

Forbidden Case

Viewer role pushes a write mutation and server rejects with FORBIDDEN.

Feedtron

Happy Path

Moderator scope grant lets moderation team pull flagged feed records.

Forbidden Case

User without moderation principal attempts unshare and is denied.

Compoundum

Happy Path

Partner lead shares project record with user:partner-analyst for collaboration.

Forbidden Case

Cross-namespace principal receives share attempt on a resource with cross-namespace disabled.