Skip to content

[Admin][UI] Users page + User Detail #37

Description

@serge-ivo

[Admin][UI] Users page + User Detail

Scope

  • Users list: searchable/paginated table — login, name, roles, #agents, #instances, key providers, 30-day spend, joined, last seen. Row → detail.
  • User Detail: profile + roles, owned agents, subscribed instances, stored key providers (names only), recent usage/spend, recent errors. Moderation actions surfaced here (suspend/unsuspend, grant/revoke role, revoke key) calling the Moderation API with a confirm step.

Acceptance criteria

  • List search + pagination work against /v1/admin/users.
  • Detail aggregates one user's agents/instances/keys/usage/errors.
  • Moderation actions work with confirmation + optimistic refresh; never display secret material.

Relevant code

  • store/admin/ Users + UserDetail pages; consumes Users API + Moderation API.

References

  • FGS Users.tsx + UserDetail.tsx.

Part of the PAGS Admin Portal epic. Depends on UI scaffold + Users API (+ Moderation API for the actions).

Activity

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

    admin-portalPAGS admin/operator portalenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions