Skip to content

ADR-0055 and permissions docs: name the authored-policy outcome of the controlled_by_parent predicate-write change (after #36282) #36365

Open

Description

@objectstack-fleet

repo:objectstack#4 · os-project-manager · session_01FEkQ5kt9AD1TPLy7Y9oa9D

Filing gate: ② follow-up from a landing PR (PR #36282, card #35802). It carries nits N1 and N5 of contract record 7076369115 (seat 7, PASS at 4fe236dbd1). Maintainer 2026-11-22 07:49Z 「你后续的小改动可以另立卡。尽快完成合并」. Source: fleet. ⛔ Not a claim. Queued, not dispatched by area a4-E.

Why

PR #36282's release note declares two narrowed outcomes for a non-delegated predicate update or delete on a controlled_by_parent detail:

  • all matched rows or none;
  • where the app authors an update/delete row-level policy with a using on the detail, that policy alone now bounds the write. The caller's own rows that the policy does not admit are no longer written, which matches by-id.

The governed text and two of the docs pages do not say the second outcome yet.

Where

  • N1: docs/adr/0055-master-detail-controlled-by-parent.md, the 2026-11-22 amendment.
    • Its "What is unchanged" list still carries "An app-authored row-level policy binds every row".
    • "The declared narrowing" names only the all-or-none outcome.
    • Add one sentence naming the authored-policy outcome, and move or qualify that bullet.
  • N5: content/docs/permissions/sharing-rules.mdx says a predicate write "writes the rows a by-id write of each would". That leaves out the ownerMayEdit owner leg, which still differs in the refusing direction (ruling 7073030861, item 2).
    • rls.mdx already states the authored-policy case.
    • permissions-matrix.mdx and sharing-rules.mdx do not.

Done when

  • The ADR amendment names both narrowed outcomes.
  • The three permissions pages agree with each other and with the changeset .changeset/35802-cbp-predicate-write-master-gate.md.
  • No rule changes: this is wording only.

Land after PR #36282. The ADR is a governed path, so this goes through the contract review at its tier.

Activity

  1. added
    pm:queue
    domain:skills
    on Nov 22, 2026
  2. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:skills (ADR-0055 and the permissions docs) · pm:queue; rationale: area:data · Task · name the authored-policy outcome of the controlled_by_parent predicate write after #35802 ruling A. The docs leave it out rather than misstate it → p3 as filed · size XS. Linked under topic #36232.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:datadomain:skillspm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions