Skip to content

BUG-35: Mockup: its notes name GET /api/v1/approvals and old group names, which the design does not have #149

Open

Description

@ephico2real2

Part of #20

What is wrong: The mockup's text is older than two decisions. It says that the list engine serves GET /api/v1/approvals, which is in neither docs/02 nor the API. Its sample token uses realm ephico2real and groups such as /cmapi/cmapi-requesters. The groups are now app-cmapi-rbac-<role> (docs/11).

Where: mockups/portal/Main.dc.html:1884 (the endpoint), and :1060 and :1073 (the token and the groups).

How to prove it: Search the mockup for /api/v1/approvals and for cmapi-requesters. Both searches must find nothing after the fix.

Measured or inferred: Read from the mockup, docs/02:172 and docs/11 at ecc5cb3 on 2026-11-13, by OB1's diagram agent.

Severity: Low.

What must hold after the fix: The mockup names GET /requests?status=pending_approval&approver=me for the approvals list. Its sample token has the group paths of docs/11. The 8 tests of the mockup pass.

Research: Not done yet.

Solution (inline, not applied): Not written yet.

Class: TDT. The mockup works, and its text drifted from later decisions.

Activity

  1. added
    bug
    class:TDT
    status:open
    sev:low
    Backlog
    on Nov 13, 2026
  2. ephico2real2 commented on Nov 13, 2026

    @ephico2real2
    OwnerAuthor

    In-Progress, and a correction of this issue's scope, by OB1 on 2026-11-13.

    1. The note about GET /api/v1/approvals is corrected on branch fix-mockup-counts (PR UX-02: the mockup's lock of payments-prod shows the count of its request #168): it now names /requests?status=pending_approval&approver=me.
    2. The realm ephico2real and the groups such as /cmapi/cmapi-requesters and /cmapi/cmapi-platform-leads are NOT changed. They are the names of the mockup's sample site. docs/11 lets a site keep its own names through identity.groupPath, and examples/local keeps /cmapi/cmapi-{name} that way. So these names are not wrong: they differ from CRC's names. The owner decides whether the mockup shows CRC's names (app-cmapi-rbac-<role>) or stays a sample of another site.

    So this issue stays open for the owner's choice on point 2 after PR #168 merges.

  3. added
    In-Progress
    and removed
    Backlog
    on Nov 13, 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

    In-Progressbugclass:TDTsev:lowstatus:open

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions