Skip to content

Commit 47d000c

Browse files
authored
fix(distributed): missing agent NATS permission
1 parent 14b29eb commit 47d000c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/natsauth/permissions.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ func WorkerPermissions(nodeID, nodeType string) (pubAllow, subAllow []string) {
1919
// Keep this list in sync with the subscriptions in core/cli/agent_worker.go.
2020
subAllow = []string{
2121
"agent.execute",
22+
"agent.*.cancel",
2223
"jobs.*.cancel",
2324
"jobs.*.progress",
2425
"jobs.*.result",

0 commit comments

Comments
 (0)