Skip to content

plugin-security: pin the authored-policy outcome and the skipped sharing relief on a controlled_by_parent predicate write (after #36282) #36367

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 nit N3 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 declares a breaking outcome: on a controlled_by_parent detail with an app-authored update/delete row-level policy, a non-delegated predicate write is now bounded by that policy alone. The outcome has no pin of its own on the vouched path. The skipped sharing relief on a vouched write has none either.

Both run through code the by-id path shares, and the flipped pin asserts that the composed predicate carries no floor. So this card is coverage, not a known defect.

Done when

  • Authored-policy case. A real-engine case in packages/plugins/plugin-security/src/predicate-write-floor-deferral.test.ts, or a sibling file, sets up:

    • a controlled_by_parent detail;
    • an authored update policy with a using;
    • a caller who created rows that the policy does not admit.

    The case shows that a predicate update writes exactly the rows a by-id update of each would, and that it skips the caller's own rows the policy does not admit. Do the same for delete.

  • Sharing relief. A case shows that a vouched predicate write asks no sharing verdict, or shows why none is observable.

  • Ablations. Each case is ablated red, then restored.

Land after PR #36282.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:server (plugin-security pins) · pm:queue; rationale: area:data · Task · pin the authored-policy outcome and the skipped sharing relief on a controlled_by_parent predicate write → 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:serverpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions