Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(web): show Claude workflow phases and members in Lineage #12598

MergedBil0000(GitHub profile, opens in a new tab)merged 90 commits intomain fromrefs/pull/12598/headmerged by juliusmarminge View on GitHub

Showing 56 changed files with 30 additions and 0 deletions (loading 53).

x
0 of 56 viewed, 56 left
7 additions and 0 deletionsapps/server/src/auth/RpcAuthorization.test.tsModified
View file
@@ -8,6 +8,7 @@
ProviderInstanceId,
ThreadId,
AuthOrchestrationOperateScope,
+ ORCHESTRATION_V2_WS_METHODS,
AuthOrchestrationReadScope,
AuthSourceControlWriteScope,
AuthPreviewOperateScope,
@@ -35,6 +36,12 @@
expect(new Set(Object.keys(RPC_REQUIRED_SCOPES))).toEqual(new Set(WsRpcGroup.requests.keys()));
});
​
+ it("requires operate access to stop a workflow", () => {
+ expect(requiredScopeForRpcMethod(ORCHESTRATION_V2_WS_METHODS.stopWorkflow)).toBe(
+ AuthOrchestrationOperateScope,
+ );
+ });
+​
it("authorizes background policy reporting and observation deliberately", () => {
expect(requiredScopeForRpcMethod(WS_METHODS.serverReportClientActivity)).toBe(
AuthOrchestrationReadScope,
1 addition and 0 deletionsapps/server/src/auth/RpcAuthorization.tsModified
View file
@@ -46,6 +46,7 @@
...CLIENT_GUARDED_RPC_SCOPES,
[ORCHESTRATION_V2_WS_METHODS.dispatchCommand]: AuthOrchestrationOperateScope,
[ORCHESTRATION_V2_WS_METHODS.getWorkflowScript]: AuthOrchestrationReadScope,