Watch
0
0
Fork
You've already forked hyperhive
0

derive per-agent egress entries from operator-linked accounts

This commit is contained in:
atlas 2026-10-30 12:28:51 +01:00
commit 9193f37963

View file

@ -15,8 +15,9 @@
// internet flag reaches any name the proxy's private-range rules leave, so an
// entry matters only to a restricted one.
//
// An entry the controller keeps from the agent's backend environment (`derived`)
// shows as automatic with no remove control; the route refuses to remove it.
// An entry the controller keeps from the agent's backend environment or a linked
// account (`derived`) shows as automatic with no remove control; the route
// refuses to remove it.
//
// Its state belongs to one agent: callers key it by agent name.
import { useEffect, useState } from "preact/hooks";
@ -131,7 +132,7 @@ export function AllowedDomains({ agent }: { agent: string }) {
value={e.domain}
title={
e.derived === true
? "kept from this agent's backend environment; change that variable to change it"
? "kept from this agent's backend environment or a linked account; change or unlink that to change it"
: undefined
}
/>{" "}