Watch
0
0
Fork
You've already forked hyperhive
0

swarm ui ssh row with target snippets, docs for the per-agent switch

This commit is contained in:
atlas 2026-11-16 18:38:10 +01:00 • committed by mara
commit e621397252

View file

@ -4,7 +4,7 @@
// changes.
//
// Both read `GET /api/agents/{name}/permissions`, which answers the stored
// grant as `{ permissions?, unrestricted_internet?, internet_log?, max_repos? }` (`{}` when
// grant as `{ permissions?, unrestricted_internet?, internet_log?, max_repos?, ssh? }` (`{}` when
// the swarm sets none, so the agent runs on the default set). The permissions
// control offers the catalogue from `GET /api/permissions` as checkboxes and
// PUTs the ticked ones, a PUT replacing the stored value whole. A selection
@ -50,6 +50,7 @@ interface Grant {
unrestricted_internet?: boolean;
internet_log?: boolean;
max_repos?: number;
ssh?: boolean;
}
// Mirrors swarm-controller's `Catalogue` (`GET /api/permissions`).