fix(#1397): point send-refused message at <parent> sentinel not stale manager name
This commit is contained in:
parent
330fdf8dc7
commit
b33b3f315c
1 changed files with 4 additions and 3 deletions
|
|
@ -1960,9 +1960,10 @@ fn check_send_allowed(to: &str) -> Result<(), String> {
|
||||||
}
|
}
|
||||||
Err(format!(
|
Err(format!(
|
||||||
"send refused: recipient '{to}' not in hyperhive.allowedRecipients \
|
"send refused: recipient '{to}' not in hyperhive.allowedRecipients \
|
||||||
(configured in agent.nix). Allowed: {allow:?}. The manager is \
|
(configured in agent.nix). Allowed: {allow:?}. Your structural \
|
||||||
always reachable — route through `send(to: \"manager\", …)` if \
|
parent is always reachable — route through `send(to: \"{}\", …)` \
|
||||||
you need to reach someone outside the allow-list."
|
if you need to reach someone outside the allow-list.",
|
||||||
|
hive_sh4re::PARENT_RECIPIENT
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue