Skip to content

Sharing service docs: list the tri-state write verdicts and the set form; correct the per-row cost in changeset 35802 #37563

Backlog

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

Parent: #36232. Source: the seat's contract review of PR #37558 (card #35934), record 7193294421, section ③. Under the maintainer's rule, small issues go to follow-up cards.

What is wrong

  1. content/docs/kernel/runtime-services/sharing-service.mdx lists only buildReadFilter, canEdit, canDelete and canManageShares. It never listed the tri-state checkEdit / checkDelete, and after PR perf(sharing): ask record sharing for the write verdicts of a predicate write's candidates as one set #37558 it also misses the optional set form, checkEditMany / checkDeleteMany. A plugin author reading the page cannot learn either exists.
  2. .changeset/35802-predicate-write-floor-deferral.md states a per-row cost for bulk writes. After PR perf(sharing): ask record sharing for the write verdicts of a predicate write's candidates as one set #37558, that is stale for the bundled sharing service: it now takes two reads per 1,000-id chunk. Both changesets ship in the same release, so the release notes would contradict each other.

Done when

  • The page lists checkEdit / checkDelete (allow / deny / not-applicable) and the optional checkEditMany / checkDeleteMany, with the fallback to the per-row loop when a service does not implement them.
  • The 35802 changeset's cost paragraph is corrected before the next release consumes it, under a deliberate-correction declaration, or a short note in a new changeset supersedes it.

Priority: p2. Item 2 must land before the release that carries both changesets. Domain: docs, server.

Activity

  1. added
    priority:p2
    finding
    domain:server
    on Nov 26, 2026
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:serverfindingpriority:p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions