Relationships
#5177 Docs: manage-access-grants says grants are staged until a reload, but a grant run through serve applies before the reply
Opened by stack72 · 11/27/2026
content/manual/how-to/swamp-serve/manage-access-grants.md, section Reload the policy snapshot, opens with: Grants are staged until you reload. This is the safety mechanism - a bad policy does not take effect until deliberately applied.
Since swamp-club#5073 (swamp PR #3966, first released v20261125.095216.0-sha.16430b63), a grant or group change run through serve (swamp access grant create or revoke with --server, and the group commands) rebuilds the policy after its commit and is enforced before serve replies, in manual grant-reload mode too. On a v3 team the leader loads the new policy and publishes the release followers adopt. If the rebuild fails, the run answers with an error.
What still waits for a reload under --grant-reload manual: grant files on the serve's own repository (--grants-file, --grants-dir, reconciled grant files).
Suggested change: say which changes apply at once (grant and group commands run through serve) and which stay staged until swamp access reload (grant files), and keep the safety-mechanism framing only for the latter. Check explanation/swamp-serve.md's --grant-reload paragraph and reference/swamp-serve/access-commands.md for the same claim.
Found while working swamp-club#5052.
Open
No activity in this phase yet.
Sign in to post a ripple.