Skip to content

feat(admin): add admin user management via portal SDK - #703

Merged
pcfreak30 merged 1 commit into
developfrom
feat/admin-users
Sep 13, 2026
Merged

pcfreak30 merged 1 commit into
developfrom
feat/admin-users

Conversation

@pcfreak30

@pcfreak30 pcfreak30 commented Sep 13, 2026 •

Copy link
Copy Markdown
Member

Adds pinner admin users CRUD (list/get/create/update/delete) backed by the portal SDK user service (portal-sdk v0.1.73).

Exposes the operations to self-hosted MCP only through the existing admin domain-scope gate and keeps them out of the curated MCP tools list. Delete requires the existing destructive confirmation / --force gate.


This pull request adds admin user management capabilities to the pinner-cli tool. The changes introduce a new users section under the admin command tree, providing CRUD operations (list, get, create, update, delete) for managing users via the portal SDK's user admin service.

Key functionalities added:

  • New Admin Commands: admin users list, admin users get, admin users create, admin users update, and admin users delete are now registered in the CLI's admin command structure.
  • Service Wiring: A UserAdminService factory is added to both the catalog and CLI dependency injection, connecting the commands to the portal's backend.
  • Output Rendering: Proper formatting for user objects (showing ID, email, name, role, verification status, and creation timestamp) and deletion confirmations.
  • CLI Shape & Help Updates: The new users section is included in the official admin command shapes, help text, and compile-time validation.
  • MCP Integration: The five admin user operations are exposed in the MCP surface, though they are only accessible to self-hosted deployments via the admin domain gate (not part of the default curated tool list).

This enhancement allows platform administrators to manage users directly from the CLI, complementing existing admin sections like quota, billing, websites, and social providers.

Adds pinner admin users list/get/create/update/delete, backed by the
portal SDK user service (portal-sdk v0.1.73). Exposes the operations on
self-hosted MCP only through the existing admin domain-scope gate, and
keeps admin user management out of the curated MCP tools list.

Updates go.lumeweb.com/pinner to the published commit carrying the
admin user service and catalog operations.
@kody-ai

kody-ai Bot commented Sep 13, 2026 •

Copy link
Copy Markdown

Kody Review Complete

Great news! 🎉
No issues were found that match your current review configurations.

Keep up the excellent work! 🚀

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the @kody start-review command at the root of your PR.

  • Validate Business Logic: Ask Kody to validate your code against business rules by adding a comment with the @kody -v business-logic command.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ✅

Access your configuration settings here.

​

@github-actions

Copy link
Copy Markdown

Code Coverage Report

Total Coverage: 55.3%

Generated from commit: c6fa9d8
Repository: LumeWeb/pinner-cli

@pcfreak30
pcfreak30 merged commit 1541d95 into develop Sep 13, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant