pve_acl_prune
Remove over-broad ACL grants flagged by detection. Dry-run shows what principals lose or gain, then revoke and optionally re-grant narrower permissions.
Instructions
MUTATION: prune (remove/narrow) an over-broad ACL grant flagged by pve_overbroad_grants.
Dry-run by default — the PLAN names every principal losing/gaining what, and flags shadow/widen gotchas. Re-call with confirm=True to execute (revoke, then optional narrower re-grant). Synchronous. roleid = the over-broad role to remove (from detection).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | user | |
| path | Yes | ||
| roleid | No | ||
| target | Yes | ||
| confirm | No | ||
| narrow_path | No | ||
| narrow_role | No | ||
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |