Skip to content

sharing rules: a rule whose recipient cannot read the object saves without a word, and its shares do nothing #39419

Description

@objectstack-fleet

repo:objectstack@hotlong · hotlong · session_2d709547c1624199b93584a53fbaaca2

What happens

The admin shares 报修单 records with the manager 张经理 through a sharing rule, so that he can see his engineers' orders (and, see #39406, the record behind an approval he decides).

The rule saves. With a matching condition it creates 5 sys_record_share rows for him, and Setup → 共享明细 lists them. But 张经理's permission sets grant no read on 报修单, so every read still answers 403 PERMISSION_DENIED. A sharing rule widens which rows a user may see. It cannot grant object access the user does not have.

Nothing on the rule form, the saved rule or 共享明细 says so. From the admin's side, the share exists and the manager still sees nothing.

Expected

  • When a sharing rule (or a manual share) names a recipient (user, team, position, business unit or queue) who has no read on the object, the save warns and names who lacks access, and says that a permission set granting read is needed. Use labels, not API names.
  • 共享明细 marks shares whose recipient cannot use them.

This is the same "silent at both ends" pattern as the approval case in #39406. A shared "can this principal read object X?" check used by both forms would cover both.

(origin/main f32b7d6.)

Activity

  1. added
    enhancement
    priority:p2
    pm:queue
    domain:ui
    area:access
    on Dec 3, 2026
  2. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:data · domain:ui · Feature · p2 · pm:queue · size S, touched 2026-12-03T23:24Z. Rationale: area:access is not on the North Star list; sharing belongs to data, so I moved it there. A rule whose recipient cannot read the object saves without a warning, and its shares do nothing. The filer's p2 stands. Issue type set to Feature.
    Grade: area:data · Feature · p2 · admins writing sharing rules · read (new-company walkthrough).

  3. added and removed
    area:access
    on Dec 3, 2026
  4. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-tesla · os-tesla · session_01L9qibwHwLPqS2dsjTpyXhw

    维护者速读

    • 问题:管理员用共享规则把报修单共享给某位经理,规则保存成功,「共享明细」里也列出了共享记录,但这位经理没有这类单据的查看权限,实际一条也打不开,而保存时、规则页和共享明细里都没有任何提示;新公司演练中碰到一次,凡是先配共享、后配(或忘配)权限的管理员都会碰到。
    • 选项:在共享明细和规则页上直接标出「此人目前打不开这类单据,需要先授予查看权限」,保存时不提示(约 1 个 PR);保存时当场拒绝「共享给一位没有查看权限的具名用户」,共享给团队、岗位、部门的情况照旧无提示(约 1 个 PR,属于收紧,需合约评审);新建一条「保存成功但带警告」的通道并由后台给共享明细打标(至少 3 个 PR,要改公开约定,需另立一张卡);产品不改,只在文档里写明「共享不等于授予单据权限」后关单(0 个产品 PR)。
    • 推荐:在共享明细和规则页上标出来,因为「谁实际看得到」本来就该由平台现有的权限解释能力回答,它随权限变化始终准确、覆盖用户、团队、岗位、部门等各种共享对象,也不会把同事的权限情况透露给无权查看的人。
    • 不定会怎样:共享明细继续把不起作用的共享显示得和生效的一样,管理员只能等经理来问「为什么我看不到」才发现,这张卡也继续停在队列里无法派发。

    Served-tier: CONTRACT_REVIEW_TIER
    Analysed-by: session_01L9qibwHwLPqS2dsjTpyXhw

    Decision analysis: #39419, a share to someone who cannot open the object

    Background

    An administrator shares repair orders with a manager through a sharing rule. The rule saves, five share rows are written, and Setup lists them under Sharing Details (共享明细). The manager's permission sets grant no read on the object, so every read is refused. Nothing on the rule form, the saved rule or the share list says so. The filer measured this in a new-company walkthrough at f32b7d6d8f; I did not re-run it. The code reading below, taken at e43597b1, agrees with it.

    The card asks for two things: a warning at save that names who lacks access, and a mark on the share list. It also proposes one shared "can this principal read object X?" check for this card and for the approval card #39406.

    Three things have happened since the card was filed, all on 2026-12-04:

    Governing text

    • content/docs/permissions/authorization.mdx:13-16: 「A request passes through six gates, each fail-closed at its own layer: anonymous deny → declaration-derived public-form grant → object CRUD (permission-set union) → OWD/sharing → row-level security → field-level security.」 Object permission is the gate before sharing. No option below changes that order.
    • ADR-0111 (Accepted), docs/adr/0111-record-share-management-authority-and-verb-boundary.md:21: 「a share widens which rows a principal reaches, never which verbs they may use … Grants that would enforce nothing are refused at write time rather than persisted as inert rows.」 D7 (:134) lists the refusals: recipient type, target sharing model, source coexistence, and two amendments (external members on a public object; storage that cannot evaluate the share arm). Each names a row no gate would ever consult. None names a recipient's object permission.
    • ADR-0090 D6 (Accepted), docs/adr/0090-permission-model-v2-concept-convergence.md:329: 「A contract explain(principal, operation, object, record?) → decision + granting path … It is the shared engine for: 1. The admin simulator ("view as 张三") in Studio/Setup」. This is the "shared check" the card asks for, already declared and served.
    • ADR-0078 Decision §1 and §6 (Accepted), docs/adr/0078-no-silently-inert-metadata.md:52,85-91: 「Parsed, unmarked, silently inert is prohibited」 and 「A false prescription is worse than a missing rule」. The text speaks of metadata instances; a share row is data.
    • packages/plugins/plugin-sharing/src/sharing-rule-service.ts:2446-2452: 「⛔ Do not widen this into "warn whenever any recipient expands to zero" without measuring those — an empty queue is a queue nobody staffs yet (ADR-0142 D2: an empty expansion is a fact, not a fault)」. The same service already separates a state that is a fact from a misconfiguration.
    • packages/spec/src/api/protocol.zod.ts:3575-3611: the write answer's warnings are 「The advisory validation-rule hits of THIS write」 and its notice is 「Info severity: it reports an outcome, never a problem」.
    • SKILL.md 〈升级与决策〉: 「协议为基准 … 改协议、新增公开面另立卡」; 「新支复用母单裁决直接入队,真实语义差异才重开。继承裁决连同理由;母单理由被实测为分支特有时本条不适用」; 「安全/权限边界与破坏性难逆动作恒在人工地板」.
    • Search for a text that already answers the question: git grep -n -i -E "object permission|allowRead" e43597b1 -- content/docs/permissions/sharing-rules.mdx returns two example lines (142, 434) and no sentence saying a share recipient also needs read on the object. No ADR decision names this case (see Prior rulings read:).

    Protocol statement

    Today: object permission and record sharing are two gates in a fixed order. A share row carries its record, recipient, level and source, and no member about whether it is effective. A write answer has two members that reach a person, and neither admits this finding.

    • A changes no protocol. It reads a served door. It may add a display hint on one platform object's field so the list fetches the sibling columns the cell needs. Metadata-protocol: none.
    • B changes no schema. It narrows what the sharing-rule save doors accept, which is BREAKING and owes a contract review.
    • C changes the protocol: a widened or new member on the published write answer, a wider answer on the sharing-rule REST door, and a server-computed member on share rows. Under 「改协议、新增公开面另立卡」 it cannot be built on this card. It is its own spec card.
    • D changes nothing but one docs sentence.

    Premises, each with its re-check

    All lines were read at e43597b1. The local origin/main now reads 198301bd, one commit later (#39478, CLI only). git diff --stat e43597b1 198301bd over every file cited here is empty.

    1. Neither save door asks whether the recipient can read the object. git grep -n -E "canReadObject|allowRead" e43597b1 -- 'packages/plugins/plugin-sharing/src/*.ts' ':!*.test.ts' → 0 hits. Holds.
    2. The recipient judgments that do exist ask whether the user exists and which population they belong to. git show e43597b1:packages/plugins/plugin-sharing/src/sharing-service.ts | grep -n -E "async userRecipientRefusal\(|private async assertRecipientNotInert\(|private assertNotInertGrant" → 2350, 2449, 2285. assertNotInertGrant(object: string) takes the object alone. In the rule service the two save-time calls are at sharing-rule-service.ts:862 and :888. Holds.
    3. canReadObject(object, context?) exists and takes a security context. git show e43597b1:packages/spec/src/contracts/security-service.ts | grep -n "canReadObject?(" → 1109. Holds.
    4. Differs in part from the seat's reading that nothing resolves a recipient to something the check can be asked about. For a user, the access-explain contract does it and is served: git show e43597b1:packages/spec/src/security/explain.zod.ts | sed -n 378,384p (「User to explain FOR … the engine reconstructs that user's positions/direct grants」); the REST door is described at packages/rest/src/rest-server.ts:6600-6612; who may ask about another user is manage_users or a delegated admin scope (packages/plugins/plugin-security/src/security-plugin-explain-access.ts:158). For team, position, business unit and queue the rule evaluator already expands to user ids (sharing-rule-service.ts:2268, expandRecipient). No single helper composes the two. That part of the seat's reading holds.
    5. Every stored share row names a user. git show e43597b1:packages/plugins/plugin-sharing/src/sharing-service.ts | sed -n 2533p → if (recipientType !== 'user') { (the refusal, ADR-0111 D7 rule 1). So each row on the share list can be asked about one user and one record.
    6. The share list already draws the recipient through a console face, and the explain panel is mounted on two Studio pages only. git show e43597b1:packages/plugins/plugin-sharing/src/objects/sys-record-share.object.ts | sed -n 243p → widget: 'recipient-picker'; git grep -n "<AccessExplainPanel" e43597b1 -- ui/packages/app-shell/src/views ':!*.test.tsx' → StudioOwdOverviewPage.tsx:85, StudioPermissionSetPage.tsx:437. Nothing links a share row to the explanation.
    7. The write answer has no member this finding may ride, and the sharing-rule REST door answers the bare row. git show e43597b1:packages/spec/src/api/protocol.zod.ts | sed -n 3575,3611p; git show e43597b1:packages/rest/src/sharing-routes.ts | sed -n 719p. Holds. The seat's reading that a save-time warning is a new server contract holds; the exact shape is "an advisory member exists, and its declared meaning excludes this".
    8. The approvals: an approver without read on the object sees a blank request page, and nothing warns when the flow is saved #39406 ruling. gh api repos/objectstack-ai/objectstack/issues/comments/7399225992 --jq .body → 「the maintainer tapped 「审批人直接看到提交内容」 … That is option E … Route E: when the object definition is withheld, the approval page draws the snapshot the server already serves, with its keys and labels. The "no access" notice appears only when the server served no field.」 The words "no design-time warning is added" are the analysis's (comment 7398609383, section 6), not the ruling record's.
    9. The sharing rules: saving a condition whose literal is not one of a choice field's option values is warned about or refused (save-time half of #39418) #39434 ruling. gh api repos/objectstack-ai/objectstack/issues/comments/7403149741 --jq .body → 「refuse a sys_sharing_rule save when a criteria literal on a choice field is an option label where the row holds the value … The broader "refuse every literal outside the options" … was offered and not chosen.」
    10. Differs from the seat's reading of the overlap. PR fix(security): the pending approver reads the record under review without an object grant #39518 (for Approver without object read cannot open the live record or attachments under review #39485) touches no file under plugin-sharing: gh api repos/objectstack-ai/objectstack/pulls/39518/files --paginate --jq '.[].filename' | grep -c plugin-sharing → 0. Its 11 files are in plugin-security and the dogfood tests. It does change what the explain door answers for a pending approver, which matters to option A (see confidence gaps). sharing rules: saving a condition whose literal is not one of a choice field's option values is warned about or refused (save-time half of #39418) #39434 is in flight on sharing-rule-service.ts and rule-hooks.ts (claim 7403189074): gh api repos/objectstack-ai/objectstack/issues/39434 --jq '[.labels[].name]' → pm:dispatched. That overlap holds for option B only.
    11. The administrator who opens the share list very likely passes the explain door for other users. The Setup entry requires manage_platform_settings (packages/plugins/plugin-sharing/src/sharing-plugin.ts:763), and packages/plugins/plugin-security/src/security-plugin.ts:383-388 lists it beside manage_users as capabilities the unscoped administrator grant carries. Read, not run.

    Nothing was run in a booted app for this analysis.

    1. The question in one sentence

    When an administrator shares records with someone who is not allowed to open that kind of record at all, the share looks granted and does nothing, and nobody is told: how should the platform make that visible?

    2. Options × real cost × effort

    What is built What the customer sees Effort
    A Show the effective state where shares are listed The console's recipient cell on the share list, on a share's own page and on a rule's named-user recipient asks the served access-explain door whether that person can read that record (or, for a rule, that object). On a positive denial it draws a mark with the object's label and the remedy. No save-time message, no server change. Next to 张经理 on each share row: "cannot open 报修单; assign a permission set that grants read". The mark disappears by itself once the set is assigned, and comes back if it is removed later. A viewer the explain door refuses sees today's list. domain:ui · 1 PR · precedents PR #27384 (+655/−28, 19 files, a list cell reads the record-grained explain verdict) and PR #24831 (+194/−0, 3 files, the share list's recipient face). M.
    B Refuse at save The two sharing-rule save doors refuse a rule whose recipient is a named user who cannot read the object, naming the user, the object and the remedy. Judged on create and when the recipient or object changes. The manual-share door is left out (see axis ① on disclosure). The administrator must assign the permission set first, then save the rule. Rules for a team, position, business unit, queue or user-valued field save as today and can still share with people who cannot open the object. The share list is unchanged. domain:server · 1 PR, after #39434's PR on the same two files · precedents PR #39361 (+438/−3, 8 files) and PR #30953 (+409/−11, 10 files), same door. Plus a contract review and the maintainer's per-PR word for a BREAKING narrowing. M.
    C A "saved, with a warning" channel and a server-side mark (the card as written) A member on the write answer that a non-rule finding may ride, the same on the sharing-rule REST answer, the sharing plugin emitting on it, and a server-computed "recipient cannot use this" member on share rows. A yellow toast at save naming who lacks access; a mark on the share list computed by the server. An API or agent caller gets a success with an extra member to read. domain:spec + metadata-protocol + rest + plugin-sharing + ui · at least 3 PRs · precedents PR #22749 (+1121/−70, 29 files) and PR #28247 (+497/−9, 14 files) with PR #28753 (+1664/−54, 63 files) for an answer member. 无先例 for a server-computed effectiveness member on share rows. L.
    D No product change One sentence in the sharing-rules guide: a recipient also needs read on the object. The card closes as not planned. Nothing changes on screen. The share list keeps listing dormant shares like live ones. 0 product PRs · one docs line · 无先例 needed.

    Measured effort gap: A and B are one PR each (about 430 to 650 lines by precedent). C is at least three PRs whose nearest precedents total over 3,000 lines, more than 3× either. I name the gap as the rules require. It does not decide the letter.

    3. What each option means in business terms

    • A: the guest list at the door shows, next to each name, whether that guest has a building pass. Nobody is stopped from writing the list.
    • B: the front desk refuses to put a name on the guest list until that person has a building pass. It checks named individuals only; a whole department goes on the list unchecked.
    • C: the list is accepted with a sticky note, and a second clerk is hired to keep the notes current.
    • D: the handbook says a pass is also needed. The list looks the same.

    4. The four axes, argued from the business

    Long-term soundness (leads). In two years, wherever shares are listed (the share list, a record's sharing panel, a rule's page), each row says whether its recipient can actually open the record, and the answer comes from the same engine that enforces access. Permission sets and sharing stay two independent settings an administrator can make in either order. The reference platforms model it this way, from memory and not re-read for this analysis: Salesforce saves a sharing rule or a manual share whatever the recipient's object permission and answers effective access on the record's sharing view ("Why?"); Dataverse answers it with "Check access" on the record.

    A is that end state for the lists that exist today, built on the contract ADR-0090 D6 already declares for this purpose. It adds no contract, it covers every recipient kind because every stored share names a user, and it stays true when permission sets change after the rule was saved.

    B ties the sharing save door to the state of a different setting. A correct rule is refused because another administrative step has not happened yet, and the refusal's sentence is true only at that moment: remove the permission set a week later and the rule is dormant again with nobody told. It judges named users only, so a rule for a position or a team keeps today's silence, and the share list keeps it for everyone. The existing refusals on this door are different in kind: each one refuses something wrong in the rule itself (no condition, an object that takes no shares, a user who does not exist, a label written as a value), and the fix is in the rule.

    B and C also answer a question the platform reserves. Today, "can this colleague read this object?" is answered only to someone who administers users. A save-time message that names who lacks access gives that answer to anyone who may write a sharing rule, and at the manual-share door to any record owner. A leaves that boundary where it is: the mark appears only for a viewer the explain door admits.

    C puts a second meaning on a published answer member and a computed member on share rows, both permanent, for one producer. D leaves a Setup list that shows a grant as though it worked. The share object's own source comments call that state a defect in another case (a share pointing at no record 「enforced no access while showing on Setup → Record Shares as though it did」, sys-record-share.object.ts:178).

    Real business pull. One measured hit, in a new-company walkthrough; there are no production customers. The trigger is ordinary: any administrator who sets up sharing before, or without, the recipient's permission set. The pull is for "tell me the share is not working". It is not for a warning channel as such: this is the third card in two days from the same walkthrough to ask for a save-time warning (#39406, #39434, this one), and the first two were ruled without one.

    Keeping an AI author from being wrong. Today an agent that creates the rule through the API gets a success and reports it done. Under A that agent still gets a success; the person sees the mark on the list, and an agent that wants to know can ask the explain door. Under B the agent gets a refusal naming the missing permission and can repair it in the same turn, for a named user only; for every other recipient kind it gets today's silent success, which reads as "checked". Under C the agent gets a success with an extra member, which an agent reading status and row will miss. Under D nobody is told. On this axis B is the loudest for the one case it covers, and A is quiet at the API. I state that and do not let it move the letter: the rules let this axis break a tie on the first one, and the first one is not tied.

    No spread at the startup stage. A declares nothing: one console cell reads a door that is already served and already documented. B adds one more refusal and its sentence, a small permanent obligation plus a BREAKING note. C adds a channel and a computed member, each a permanent declared surface with a single caller, and by this axis zero-pull surface is deferred. D adds nothing. On 「新增门禁默认否」: I read it, as the #39434 analysis did, as covering tooling gates and not a product save contract. If the maintainer reads it more widely, it counts against B and C and leaves A untouched.

    os-decision-facets

    • ① 项目长远合理性: A shrinks a special case: one engine answers "who can actually see this", no new contract, every recipient kind, true after later permission changes. B couples the sharing save door to another setting's momentary state and covers named users only. C grows two published members for one producer. D keeps a list that shows dormant grants as live.
    • ② 实际业务拉动: one walkthrough hit, no production customers; the trigger (sharing before permission sets) is ordinary. The pull is for visibility. A warning channel has been asked for three times in two days and ruled away twice.
    • ③ 防 AI 犯错: B is a loud refusal for a named user and silent for every other recipient kind. A is silent at the API and visible to the person on the list; the explain door answers an agent that asks. C is a success with a member agents miss. D is silent everywhere.
    • ④ 创业阶段不扩散: A declares nothing. B adds one refusal arm. C adds a channel and a computed member, deferred for lack of pull. D adds nothing.

    Prior rulings read: inert,recipient,share,explain,object-level,advisory → 71 hits; ADR-0111 D7 and D10, ADR-0090 D6, ADR-0078 Decision §1 and §6 (read in full; none names a recipient's object permission), ADR-0057 D7, ADR-0099 D2 and D3 (named by the tool, not on this question); rulings 7399225992 (#39406), 7403149741 (#39434), 7402324742 (#39485); thread: none; repo: objectstack-ai/objectstack

    5. Who sees what when it goes wrong

    • Today and D: the administrator sees a saved rule and listed shares. The recipient sees a refusal or an empty list. Nobody is told why.
    • A: the administrator sees the mark on the list. If the explain door refuses the viewer or cannot answer, the cell draws as today, so a failure of A is today's silence and never a wrong mark; the dev pins that a mark needs a positive denial. Nothing new reaches a person who could not already ask the question.
    • B: the administrator gets a refusal at save for a named user. If the check is wrong, a working rule is refused, loudly. For other recipient kinds, and after later permission changes, the failure is today's silence.
    • C: the administrator gets a toast once, at save. A caller that ignores the extra member gets today's silence. A stale server-side mark would show a wrong state on a permission list.

    6. Recommendation

    A. Mark the effective state where shares are listed, from the served access explanation; add no save-time message.

    Does an earlier ruling already decide this? No, and that is why it is a card.

    Options not taken:

    • B: it refuses a correct rule over another setting's momentary state, covers named users only, and tells every rule author something about a colleague's permissions. It is the option to take if the maintainer wants this door to keep refusing everything that would share nothing today.
    • C: a protocol change with no pull beyond the cards of one walkthrough. It is correct only if the maintainer wants "saved, with a warning" as a platform capability, and then as its own spec card ruled once, not under a p2 card.
    • D: it leaves a permission list that misreports, which the platform has treated as a defect elsewhere.

    Human floor: B and C sit on it (a narrowing on a permission save path; a new disclosure of who can read what). A stays inside the explain door's existing authorization, but the choice between showing, refusing and warning is a product choice, so it is presented, not taken.

    Confidence gaps (none changes the letter):

    • The filer's reproduction was not re-run. The code reading agrees with it.
    • That the explain door answers "this recipient cannot read this record, decided by the object permission layer" when an administrator asks about another user with a record id is read from the contract text and from PR fix(security): the pending approver reads the record under review without an object grant #39518's measured self-explain, not run. It is the dev's first step.
    • The cost of asking per page was not measured. The share list shows 100 rows a page; the door takes up to 200 record ids per call for one user and object.
    • Once PR fix(security): the pending approver reads the record under review without an object grant #39518 lands, an object-level answer for a pending approver can read "allowed" with a scope of a few records. So the share-row mark must ask about the row's record, not the object alone.
    • That the default administrator passes the explain door for other users (premise 11) is read, not run.
    • A says nothing at save to an API or agent caller. That residue is real and is the one thing B adds, for named users.
    • A rule for a team or position whose condition matches no record yet has no rows to mark.
    • The reference-platform sentences are from memory.
    • Not offered: letting a share open the object for its recipient. It would move the security boundary, the card says it is not asking for it, and the layered model is the documented one.

    只看①选 A;②③④ 是否翻转:否

    Post-ruling execution

    Related

  5. added
    needs-user-decision
    and removed
    pm:queue
    on Dec 4, 2026
  6. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-tesla · os-tesla · session_01L9qibwHwLPqS2dsjTpyXhw

    Ruled: 2026-12-04T08:36Z · A: the share detail and the rule page mark who currently cannot open this kind of record, with the remedy, from the served access-explain door; no save-time message, no new server contract.

  7. added
    pm:queue
    and removed
    needs-user-decision
    on Dec 4, 2026
  8. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-tesla · os-tesla · session_01L9qibvi5rtqtPBdA9MHTbH

    2026-12-04T09:0xZ · zone ot-data · card thread (mode:thread) for ruling 7406165681 (A). The thread opens with the ruled falsifiable first step (a real-boot test of the access-explain door); if the door cannot give a denial naming its layer, the thread reports the fork and builds nothing (no fallback to B or C).

    Claim: PM loop round 1
    Session: session_01L9qibvi5rtqtPBdA9MHTbH
    Account: os-tesla
    Branch: claude/project-thread-antuxm
    Worktree: objectstack-issue-39419
    Domain: domain:ui
    Seat: repo:objectstack@os-tesla
    Area: ot-data
    File surface: ui/packages/app-shell/src/views/widget-ref-cells/widget-ref-cell-renderers.tsx (reason: the share row's recipient cell draws the mark), ui/packages/app-shell/src/views/widget-ref-cells/WidgetRefCellFaces.tsx (reason: the recipient face), ui/packages/fields/src/widgets/recipientKinds.ts (reason: the recipient kind table), ui/packages/fields/src/widgets/RecipientPickerField.tsx (reason: the sharing rule page's named-user recipient, read face), ui/packages/app-shell/src/views/widget-ref-cells/ (reason: one NEW module for the explain ask, named in the first report), ui/packages/i18n/src/locales/*.ts (reason: the new strings in every locale pack; textual overlap with #39522 PR #39561, #39372 and #39429 is ruled by overlap-check.mjs before each push), packages/plugins/plugin-sharing/src/objects/sys-record-share.object.ts (reason: ONLY if the cell needs the record and object columns fetched, one display-hint line; serial behind #39434, which claims packages/plugins/plugin-sharing/src/; a Notify: serial is posted there before this file is touched); stop on breach and explain
    Container & model: M (ruled UI mark, card thread), mode:thread, model: default (dispatch-gates --tier at d7844bb6 on the surface: "no path-derived mandate … floor sonnet · default opus · ceiling fable"), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Ruling-ref: 7406165681 — Tesla's tap 「在共享明细上标出打不开」 (2026-12-04T08:33:30Z); ruled terms: domain:ui, size M, one PR, Clause-②: no, Metadata-protocol: none; the mark needs a positive denial; a refused or failed ask draws today's cell; text uses the object's label and names the remedy; share rows ask about the row's record, a rule's named-user recipient asks about the object; no save-time message
    Thread-read: 7406165681
    Premise: holds (analysis 7404334276, code read) → the ruled first step re-measures it on a real boot before any code; fork if the door cannot answer
    Pre-claim lane: domain:ui (file ownership only; ui/** paths); the conditional sys-record-share.object.ts line is domain:server and rides per 留道
    Pre-claim deps: no Blocked-by:; PR #39518 (#39485) MERGED; #39434 open (os-elon-musk) — serial only for the conditional plugin-sharing object line
    Prior rulings read: 7406165681 (A, this card), analysis 7404334276; 7399225992 (#39406 E, not inherited), 7403149741 (#39434), 7402324742 (#39485); ADR-0090 D6, ADR-0111 D7, ADR-0078 §1 §6; check-prior-rulings.mjs --card 39419 at d7844bb: 426 ADR candidates read by tier, no conflicting ruling
    Serial constraints cleared: check-handover.mjs --inflight --card=39419 at d7844bb met #39434 (packages/plugins/plugin-sharing/src/ width; the only plugin-sharing file here is conditional and serial behind it) and #39522 / #39372 / #39429 on the locale packs (glob widths; append-only keys, textual overlap ruled at push); no other in-flight claim meets the surface

  9. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 4, 2026
  10. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-tesla · os-tesla · session_01L9qibvi5rtqtPBdA9MHTbH

    Claim amendment 1 (Area: ot-data) to claim 7406724672.

    Premise: holds — ruled step 0 measured on a real boot (readings /mnt/project-files/card-39419/step0-readings.md, WIP 78cf358, not yet pushed): an administrator asking the access-explain door about a recipient with no read on the object gets allowed: false with the object_crud layer denies (by object) and {"visible":false,"decidedBy":"object_crud"} (by shared record, single and batch); after a permission set granting read is assigned, allowed: true / {"visible":true,"decidedBy":"sharing"}. No fork.
    File surface added: packages/qa/dogfood/test/share-recipient-object-read-explain-39419.dogfood.test.ts (reason: the ruled real-boot probe, kept as the card's pin). check-handover.mjs --inflight --card=39419 on this path: no overlap.
    Container & model: unchanged as claimed (effort: high builds: the thread session serves effort medium, so per the zone's ruling of 09:05Z, following #39536, one os-dev subagent at model: default, effort: high builds and the thread writes no code).

  11. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-tesla · os-tesla · session_01L9qibvi5rtqtPBdA9MHTbH

    Done: PR #39604 MERGED as 3787cb6 (Fixes #39419). Delivered ruling A (7406165681): the share list and the sharing rule page mark a named-user recipient who cannot open the record, from the access-explain door's object_crud denial, with the object's label and the remedy. Unbuilt by ruling: the save-time half (B/C). Remaining: docs sentence #39607 (Blocked-by: #39419, now unblocked); zh-Hans wording nit from L1-b 7409179504 → #39664 (ot-data loose ends). pm:dispatched removed in this stroke.

  12. removed
    pm:dispatched
    on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:datadomain:uienhancementpriority:p2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions