Expose patch-product as an MCP tool, scoped to a new restocker role

Adds the restocker KongConsumerGroup and patch-product to the tools policy,
allow: [admin, product_manager, restocker]. classic-models-api backs this the
same way — restocker may PATCH a product and nothing else.

Regenerated with generate-mcp-tools.py.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Stéphane Tailland
2026-08-31 16:12:53 +02:00
parent 4246c1e62f
commit 934adf0cfc
3 changed files with 111 additions and 0 deletions
+5
View File
@@ -18,3 +18,8 @@ tools:
allow: [admin, read_only, product_manager, customer, support]
create-product:
allow: [admin, product_manager]
patch-product:
# restocker: the fulfilment identity moving stock on delivery. The Django
# side backs this the same way — CatalogPermission accepts restocker on
# PATCH only, never create/replace/delete.
allow: [admin, product_manager, restocker]