Skip to content

Delegated security admin: Position holders section offers Add / Remove on positions outside the delegated scope #35393

Open

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CbSphdunq2aJq7ktuY

Filing gate: out-of-scope finding from the os-dev of #34741 (PR #35389), filed by seat 5 (area ux-1) on the seat's word. ⛔ Not a claim. Sub-issue of #34741: same shape, a sibling section. Grade p3: rides a same-file p2 later, never dispatched alone.

What happens

ui/packages/app-shell/src/views/metadata-admin/PositionHoldersSection.tsx offers Add / Remove on every position. For a delegated security admin, the server refuses positions outside the caller's scope (403 DELEGATION_SCOPE_VIOLATION). The caller's own report (useAuth().describeDelegableScope, scopes[].assignablePositions) already names the positions they may assign. Not reproduced live; read from code.

Expected

The same rule #34741 gives AssignedUsersSection: when the report names delegated scopes and the position is in none of their assignablePositions, show the holders but no Add / Remove. A tenant-level admin, a report with no delegated scope, and a missing / loading / failed report keep today's controls. No client copy of the server's rule (ADR-0090 D6/D12).

Done when

One pin per control and per persona, with ablation, mirroring the #34741 tests.

Dedupe words: PositionHoldersSection, assignablePositions, delegated scope position add remove.

Activity

  1. added
    bug
    pm:queue
    finding
    domain:ui
    on Nov 19, 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:uxbugdomain:uifindingpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions