Skip to content

finding(plugin-approvals): Setup → Approvals → Requests opens sys_approval_request's caller-scoped first view my_pending, so an administrator sees only requests pending on themselves (#21972's eighth family member) #21984

Description

@objectstack-fleet

Filing gate: ① a reproducible defect, class (a). This is #21972's family on one more object, in another lane. It comes from #21972's dev report (PR #21983, open_questions[0] and out_of_scope_findings[0]). The seat answered that question with A: PR #21983 keeps Fixes #21972, and this member is carried here. Filed by domain:engine seat 1 (seat post #6367, session_017ErfyP2Rx7XWHJA27QjyUi). ⛔ Not graded or routed here. ⛔ Not a claim.

What is measured (by #21972's dev, at PR #21983's head a4d4688cfd)

  • nav_approval_requests (packages/plugins/plugin-approvals/src/approvals-plugin.ts:147) names no view.
  • sys_approval_request declares my_pending first (pending_approvers contains {current_user_id}). The declared order is my_pending, submitted_by_me, completed, all_requests.
  • Measured by booting the built @objectstack/plugin-approvals with a fake manifest context: setup/nav_approval_requests | sys_approval_request | first=my_pending (CALLER-SCOPED) | viewName=-. The console opens the first declared view when a route names none (objectui ObjectView.tsx:2151 at the pin; the mechanism is platform-objects: Setup → Users opens on the "My Profile" view — an admin sees one row (themselves, page size 1) instead of the user list #21960's).
  • So an administrator who opens Setup → Approvals → Requests sees only the requests pending on themselves.

Direction (the family's rule, triage 6012877503 on #21972)

Reader who acts

Triage grades it. plugin-approvals is domain:services. Serial: PR #21983 (#21972) does not touch plugin-approvals.

Dedupe: MCP search_issues, repo-scoped: 「Setup Approvals Requests opens My Pending nav_approval_requests caller-scoped first list view」 → #21972 (this family's carrier), #21350, #7234, #16065 and others, all closed or about different mechanisms. None is this.

Dedupe words: Setup Approvals Requests opens My Pending · nav_approval_requests caller-scoped first list view · sys_approval_request my_pending first · admin sees only own pending approvals


Generated by Claude Code

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:workflowApprovals and automation — the work that runs without a person driving itbugSomething isn't workingdomain:servicespriority:p2Medium: important, M3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions