derive per-agent egress entries from operator-linked accounts
This commit is contained in:
parent
7eb9db47d6
commit
9193f37963
1 changed files with 852 additions and 38 deletions
|
|
@ -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
|
||||
}
|
||||
/>{" "}
|
||||
|
|
|
|||
Loading…
Reference in a new issue