fix(distributed): missing agent NATS permissions (#10571)

Signed-off-by: Nicholas Ciechanowski <nicholas@ciech.anow.ski>
This commit is contained in:
Nicholas Ciechanowski
2026-06-28 20:58:13 +10:00
committed by GitHub
parent 923c47020d
commit be1ae9338b

View File

@@ -20,6 +20,8 @@ func WorkerPermissions(nodeID, nodeType string) (pubAllow, subAllow []string) {
subAllow = []string{
"agent.execute",
"agent.*.cancel",
"gallery.*.cancel",
"gallery.*.progress",
"jobs.*.cancel",
"jobs.*.progress",
"jobs.*.result",
@@ -27,6 +29,7 @@ func WorkerPermissions(nodeID, nodeType string) (pubAllow, subAllow []string) {
"mcp.tools.execute",
"mcp.discovery",
prefix + ".backend.stop", // stop events drive MCP session cleanup
"staging.*.progress",
"_INBOX.>",
}
pubAllow = []string{