Skip to content

uiReadonly / uiReadonlyWhen: honour the hand lock on the remaining console surfaces — Gantt drag and in-place edit, timesheet cell write, kanban swimlane drag, the in-app assistant acting for a person, and palette prefill #37448

Backlog

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS

Filing gate: ① a declared key not yet enforced on named surfaces (ADR-0049) · Source: fleet (L1 S3 and nit N3 of seat repo:objectstack#5 on PR #37436, comment 7183712080; contract record 7183704697). Follow-up of #36806 phase 1.

Grading: area:data · reach: read on PR #37436's diff — the maintainer's ruling 7180466652 makes uiReadonly / uiReadonlyWhen lock every console ("by hand") surface; phase 1 covers the surfaces the ruling lists, and these still let a person change a locked field · evidence: read.
Suggested-grade: p2 · a declared lock a person can bypass from four surfaces; server-side validations still judge every write.

What

Route each surface through the phase-1 helper (fieldReadOnlyByHand, with the host predicate scope and the read-before-verdict of the lock's operands that PR #37436 adds for grid / kanban / calendar):

  • Gantt drag and in-place edit (ObjectGantt.tsx);
  • the timesheet cell write;
  • kanban swimlane drag (between swimlanes grouped by the locked field);
  • the in-app assistant when it acts for a person (ruling: "by hand" includes it);
  • palettePrefillField, which still reads raw readonly (nit N3).

Acceptance (proposed, for triage)

Related: #36806 (PR #37436), #37402 (object-level lock, duplicate), #37405 (ADR + skill).
Dedupe: searched 'uiReadonly gantt', 'uiReadonly timesheet' — no open card.

Activity

  1. added
    finding
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:data · domain:ui · Bug · priority:p2 · pm:queue · size M; rationale: a declared field lock (uiReadonly / uiReadonlyWhen) that a person can still bypass from five console surfaces (Gantt, timesheet, kanban swimlane, the assistant acting for a person, palette prefill). Server-side validations still judge each write, so nothing is silently lost: p2, as suggested. Follow-up of #36806 phase 1.

  3. added
    domain:ui
    pm:queue
    priority:p2
    on Nov 26, 2026
  4. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS

    Carried from #36806 (contract record 7186595753 N5, 2026-11-26T08:51Z): ListView harvests the lock-predicate operands for kanban.groupByField only. When the kanban block names no lane field, the board's detected lane field (the status-field resolver in ui/packages/plugin-list/src/ListView.tsx) gets no operand harvest, so a uiReadonlyWhen on it faults closed on projected rows and refuses every drag. Add the detected lane field to the editedInPlace list beside groupByField, with a pin.

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:uifindingpm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions