fix(#1661): show default-perms agents with effective values in perms tab
This commit is contained in:
parent
24cbafc64a
commit
789ecd86f6
6 changed files with 193 additions and 24 deletions
|
|
@ -208,6 +208,16 @@ permission names fetched from the backend. The column list is
|
|||
authoritative — adding a new tool-group or capability to the backend
|
||||
requires no UI change; the new column appears automatically.
|
||||
|
||||
The snapshot carries `agents` (the full manageable roster — live
|
||||
containers ∪ agents with an explicit entry) and `effective` (per-agent
|
||||
explicit-or-role-default values) alongside the explicit `assignments`
|
||||
map. Rows come from `agents` so **agents on defaults always appear**
|
||||
(not just those with an explicit entry), and checkboxes reflect the
|
||||
`effective` values so a default agent shows the groups it actually runs
|
||||
with rather than blank — which also means saving it won't silently
|
||||
strip those defaults. The `(default)` badge keys off absence from
|
||||
`assignments` (no explicit entry).
|
||||
|
||||
Fetches fire on tab activation (not page-load) to avoid unnecessary
|
||||
work when the operator never visits this tab. Live mutations from the
|
||||
rebuild-queue worker are also pushed via the `capabilities_changed` /
|
||||
|
|
|
|||
Loading…
Reference in a new issue