mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-24 10:13:11 +02:00
fix: pass monitor guard context for plan decomposition
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
32eeb52fcc
commit
4cbfc64ff8
1 file changed
+1
-1
@@ -4294,7 +4294,7 @@ export function issueRoutes(
|
||||
normalizeIssueExecutionPolicy(child.executionPolicy),
|
||||
actor.actorType,
|
||||
);
|
||||
assertCanManageIssueMonitor(req, child.assigneeAgentId ?? null, Boolean(executionPolicy?.monitor));
|
||||
assertCanManageIssueMonitor(access, req, sourceIssue.companyId, child.assigneeAgentId ?? null, Boolean(executionPolicy?.monitor));
|
||||
return {
|
||||
...child,
|
||||
executionPolicy,
|
||||
|
||||
Reference in new issue
Block a user