feat(admin): add admin user management via portal SDK - #703
Merged
Merged
Conversation
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 Review CompleteGreat news! 🎉 Keep up the excellent work! 🚀 Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
Code Coverage ReportTotal Coverage: 55.3% Generated from commit: c6fa9d8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
pinner admin usersCRUD (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 /
--forcegate.This pull request adds admin user management capabilities to the pinner-cli tool. The changes introduce a new
userssection 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:
admin users list,admin users get,admin users create,admin users update, andadmin users deleteare now registered in the CLI's admin command structure.UserAdminServicefactory is added to both the catalog and CLI dependency injection, connecting the commands to the portal's backend.userssection is included in the official admin command shapes, help text, and compile-time validation.This enhancement allows platform administrators to manage users directly from the CLI, complementing existing admin sections like quota, billing, websites, and social providers.