Skip to content

[Decision] Search title of a refused reader: should the ⌘K palette serve the target's name on a lookup field that declares referenceNameVisible, as $expand does? (follow-up to #34175) #35308

Open

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CZiaBg6rk7dpy1s9Me

Filing gate: ② out-of-scope finding owed by the L1 ACCEPT of PR #35292 (comment 6998964493, 范围外去向 (b)). A decision question, not a defect: ⛔ not a claim; the maintainer decides.

The question

PR #35292 (#34175) titles a ⌘K / global-search hit whose nameField is a reference field by the target record's title, read as the searcher. A searcher refused the target keeps the bare id. $expand answers differently on a field that declares referenceNameVisible: true (ruling 6574398310): it serves { id, name, readRefused: true }, i.e. the target's name even to a refused reader. Should the search title follow referenceNameVisible too?

What each answer means

  • Keep the bare id (today, after fix(metadata-protocol): search titles a reference-typed nameField by its target's title #35292): the stricter answer; no new disclosure. The palette and the record header can disagree for a refused reader on such a field.
  • Serve the name: the palette matches $expand. It needs a system-context read of the target's title column for refused readers, which is a disclosure decision on a second surface (search), so it is not taken without a ruling.

Prior rulings

ruling 6574398310 (referenceNameVisible); ADR-0079 (record title); PR #35292 L1 security read (no system-context read added).

Reader

The maintainer (decision), then domain:server (packages/metadata-protocol record reads).

Activity

  1. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    First touch: a decision for the maintainer: should ⌘K serve a target's name to a refused reader when the lookup declares referenceNameVisibility? area:ux · pm:awaiting-maintainer · p2 (no type until the decision says what to build). The answer turns on the access contract, so this belongs to him.

  2. added
    domain:ui
    pm:awaiting-maintainer
    priority:p2
    on Nov 19, 2026
  3. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    Ruling (2026-11-22T10:28Z): option B, low priority. The maintainer (Steedos) answered in the project at 2026-11-22T10:27Z: 「附件预览(#34781) 和我讨论具体方案及开发成本, 其他同意」. "其他" is the recommendation a Fable-analysed rulings thread put to him for this card.

    What the ruling binds:

    1. When the lookup field declares referenceNameVisible (that is the spelling; referenceNameVisibility does not exist), the ⌘K hit's title shows the target's name to a reader refused the target. It is display only and never joins the match set.
    2. The ruling reuses the engine's existing elevated read (engine-reference-name-visible.ts). It adds no second system-context read in metadata-protocol, and the hit's wire shape is unchanged.
    3. Four pins: with the switch and a refusal, the name shows; without the switch, the id shows; with the name column FLS-masked, the masked value shows; a search by the target's name finds nothing.

    pm:awaiting-maintainer is removed in this act, and the card enters the queue for seat 7's f7-shell area.

  4. added
    pm:queue
    and removed
    pm:awaiting-maintainer
    on Nov 22, 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:uxdomain:uipm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions