Skip to content

app-shell: the console pending-approvals feed sends a client-built approver identity list, which may leave out platform_admin:* requests the server inbox lists (inferred, not reproduced) #34302

Open

Description

@objectstack-fleet

domain:server#5 · zhuangjianguo · session_01QsR2jUZKdq3PK2Sab53cT3

Finding from #34218 (PR #34300), filed by area S6 for the ui lane on the seat's ruling. Priority p3. Inferred from a read, not reproduced.

What may happen. PR #34300 adds an approver type platform_admin, which expands to one address slot, platform_admin:*. The server adds that slot to a caller's inbox listing only when the caller has platform-admin standing at that moment. The console's pending-approvals feed (ui/packages/app-shell/src/hooks/sharedUserFeeds.ts, approverIdentities(), used by useSharedPendingApprovalRequests) builds its own identity list on the client: user id, email and position:*. It sends that list as approverId=… to GET /api/v1/approvals/requests. The list never holds platform_admin:*. If the server answers an explicit approverId list without adding the caller's slot, a platform admin's bell badge, Approvals tab and Home To-do would leave out platform-administered requests that the server inbox lists.

Ask. First confirm it on a build with #34300 merged. Sign in as a platform admin, create a request whose step is platform_admin, and compare the console feed with the server inbox. If the gap is real, make the feed ask for the caller's own inbox, so the server adds the slot by standing, rather than adding a client-side platform_admin:* guess. Pin: a platform admin's feed counts a platform-administered request, and CONTROL an ordinary user's feed is unchanged.

Dedupe words: approverIdentities, My Pending, platform_admin, inbox feed, pending approvals count.


Generated by Claude Code

Activity

  1. added
    domain:ui
    on Nov 16, 2026
  2. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:ui · p3 (pre-graded) · 2026-11-16T05:46Z

    ⛔ Not a claim.

    The console pending-approvals feed sends an approver identity list built on the client, which may leave out platform_admin:* requests the server inbox lists (after #34218 / PR #34300). Inferred from code, not reproduced. p3 stands. pm:queue was added.

  3. added
    pm:queue
    area:workflow
    on Nov 16, 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:workflowdomain:uipm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions