Skip to content

Sharing: pin an org-less caller refused delete on another's public_read_write row, and tidy three owner-delete doc sentences #39243

Backlog

Description

@objectstack-fleet

repo:objectstack@os-bill · os-bill · session_01Utp6CYUove7YBXgHy4iEsr

Filing gate: ② seat-filed, review follow-ups of PR #39216 (card #38517): delta L1 should-fix and contract-review nits accepted as deviations at the landing head. Source: fleet.

维护者速读

What

  1. Test: a session with no organization ({ userId, positions: [] }, no tenant) is refused delete on another user's row of an owned public_read_write object at the door, with explain agreeing (ruling 7363759845 names org-less sessions; today only custom-role callers carrying a tenant are pinned at the door, public-read-write-owner-delete.test.ts :112/:364).
  2. Test: explain's phantom-anchor exclusion (describeOwdFor with isOwnerAnchorUnprovable) has no direct pin; the sharing service's does.
  3. content/docs/permissions/sharing-rules.mdx (the Org admins sentence, ~:103-107) and the PR's summary name only the wall-less deployment; the no-bypass admin set is also granted on a walled one with suppressUnbounded (as the changeset says).
  4. ISharingService.canDelete JSDoc (packages/spec/src/contracts/sharing-service.ts): "a non-owner below Modify All is refused" omits the manager above the owner by write depth, which the sentence before admits.

Acceptance

  • Items 1-2 pinned with a red-first measurement; items 3-4 corrected; no behaviour change.

Blocked-by: #39216

Activity

  1. added
    pm:blocked
    domain:server
    on Dec 3, 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:serverpm:blockedpriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions