[Gap]: Document manual authorization management for Enterprise MCP resources
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 82/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript
- Lĩnh vực
- documentation
Hướng nghiên cứu
Đọc docs/platform/enterprise-authz/intro.mdx, docs/platform/enterprise-authz/namespace-self-service.mdx và docs/toolhive/guides-k8s/authorization-k8s.mdx để làm theo hướng dẫn hiện có và tìm vị trí đặt liên kết. Thêm bài hướng dẫn thực hành tập trung trong docs/platform/enterprise-authz/ và thêm tham chiếu chéo từ hai hướng dẫn. Hoàn tất khi bài viết giải thích ngữ nghĩa của annotation, hành vi khi di chuyển và chuyển chế độ, cũng như cách nhận biết các đích policy không được quản lý.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What needs documentation?
Add customer-facing guidance for preserving hand-authored Cedar authorization on MCPServer, MCPRemoteProxy, and VirtualMCPServer resources when Enterprise Manager is installed.
Enterprise Manager manages authorization by default. Administrators can opt a resource out of enterprise-managed authorization with:
metadata:
annotations:
enterprise.toolhive.stacklok.dev/authz-management: manual
The manual resource owns its authzConfig; Enterprise Manager skips authorization compilation, ConfigMap writes, patching, drift correction, and cleanup for that resource.
The guide should cover:
- Choosing enterprise-managed authorization or manual Cedar, with examples for
MCPServer/MCPRemoteProxy.spec.authzConfigandVirtualMCPServer.spec.incomingAuth.authzConfig. - Safely migrating existing OSS-authored inline Cedar manifests. Without the annotation, Enterprise Manager owns authzConfig and clears it when no ToolhiveAuthorizationPolicy targets the resource.
- Exact annotation semantics: only
manualopts out. Absent or empty values remain managed; other values remain managed and emitAuthzManagementValueIgnored. - Recognizing ignored policies: a ToolhiveAuthorizationPolicy targeting a manual resource emits
AuthzUnmanagedand hasApplied=Falsewith reasonTargetManuallyManaged. - Switching modes safely. Entering manual mode does not itself replace an existing generated ConfigMap reference; the administrator must supply the intended authzConfig. Returning to managed mode resumes reconciliation and can clear inline configuration when no policy targets the resource.
Context and references
The existing Enterprise authorization guidance does not explain this management choice or the annotation.
Suggested placement: a focused how-to under docs/platform/enterprise-authz/, linked from the enterprise authorization introduction. Add a short cross-reference from the ToolHive Kubernetes authorization guide so operators bringing existing manifests to Enterprise can find the migration guidance.
Related source pages:
docs/platform/enterprise-authz/intro.mdxdocs/platform/enterprise-authz/namespace-self-service.mdxdocs/toolhive/guides-k8s/authorization-k8s.mdx
Use case
As a platform operator moving existing MCP resources from OSS ToolHive to Enterprise, I need to preserve their hand-authored authorization policies and understand which controller owns them, so reconciliation does not remove the access restrictions I intended to enforce.
- Ngôn ngữ chính
- JavaScript
- Star
- 4
- Fork
- 4
- Merge trung bình
- 23 giờ 10 phút
- Pull request đã merge (30 ngày)
- 71
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của stacklok/docs-website
-
documentation enhancement needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
stacklok/docs-website#1241 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug documentation needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
stacklok/docs-website#1149 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
stacklok/docs-website#1143 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
stacklok/docs-website#564 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation enhancement needs-triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
stacklok/docs-website#1243 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của stacklok/docs-website
Issue tương tự
-
README is out of date: broken badge, wrong command name, wrong Node version, placeholder URLsĐang mởdocumentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
PhyberApex/slds-json-schema-renderer#372 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
usage: a custom provider's balance meters ("…%" in the balance path) ignore the Left/Used switchĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] rag: sentence content can cross the reported sentence boundariesCó thể đã có người làm @LJK-ikun đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ericcornelissen/depreman#591 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug/1-unconfirmed kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
prisma/orm#30818 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày