Repository navigation
fix(governance): Promote-to-Public is platform-admin only + CR-09 docs refresh - #23
Merged
Merged
Conversation
…known-limitations docs - Approving a WorkflowClass as Public now requires an Admin of the platform tenant. A Public class is visible to every tenant, so a tenant Admin must not be able to publish one. - E2E test: tenant Admin gets 403 and the class stays Shared; platform Admin gets 200 and the class becomes Public. - docs/15: add a Resolved section (AdminController, Public approval, compose port, ports, MCP schema examples). Narrow the State Machine gap to legacy instances without a workflow class. - docs/08, 09, 16: fix links and text that described the old gaps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Db5nX38Equ6fWErg3oD32F
…lic unit test Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Db5nX38Equ6fWErg3oD32F
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.
What
POST /api/workflow-classes/{id}/approve(Promote-to-Public) now requires an Admin of the platform tenant. Before, the Admin of any tenant could make a class visible to every tenant.docs/15-known-limitations-and-gaps.mdgets a Resolved section. The State Machine gap is narrowed to legacy instances without a workflow class (class-backed instances already fail closed). Stale links and text in chapters 08, 09 and 16 are fixed.Tests
tests/FlowOS.EndToEndTests/Governance/WorkflowClass_PublicApproval_Tests.cs: tenant Admin → 403, class stays Shared; platform Admin → 200, class becomes Public.Merge order
Base is
ci/run-tests(#9). Can be merged independently of #20–#22.Generated by Claude Code