Skip to content

Security plugin: a writer who cannot read an object gets permission_denied for its own row but record_access_denied for another's row or a missing id on by-id writes (private, and public_read_write after #38517) #39225

Backlog

Description

@objectstack-fleet

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

Filing gate: ② seat-filed from the #38517 card thread's CI reading on PR #39216 (dogfood shard 3/3, packages/qa/dogfood/test/predicate-write-unreadable-not-matched.dogfood.test.ts:725). Source: fleet. Not a disclosure of another user's data: another user's row and a missing id answer alike; only the caller's own row answers differently.

维护者速读

  • 现象:一个有写权限但看不到该对象的用户,按 id 删/改自己负责的记录收到「无权限」,删/改别人的记录或不存在的 id 收到「无权访问这条记录」,两种拒绝措辞不同。私有对象一直如此,Sharing: delete on an owned public_read_write object follows the record's owner (ruling C), not the creator floor #38517 之后公开读写对象也一样。
  • 影响:只区分得出「这是我自己的记录」,别人的记录和不存在的记录回答一致,不泄露他人数据。
  • 要你做的:无;这张卡统一拒绝回答的先后顺序。

What (measured by the #38517 card thread in a scratch kernel: better-sqlite3, real SecurityPlugin + SharingService, member at org_member)

Acceptance

  • For a by-id write by a caller who cannot read the object, its own row, another's row and a missing id get the same refusal code and message, on every OWD; a test pins all three cells per OWD.
  • No change to who may write.

Dedupe: record_access_denied own row, read-door refusal order: 0 open.

Activity

  1. added
    domain:server
    on Dec 3, 2026
  2. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ

    First touch · 2026-12-03T01:07Z

    定级:area:data · Bug · p3 · 无读权的写入者对自己的行与他人的行得到不同拒绝码 · 实测(PR #39216 dogfood 分片 3/3)

    • 作者定级保留(卡上说明不泄露他人数据);类型 Bug,进 pm:queue。
  3. added
    pm:queue
    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:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions