Block an identity.
A blocked identity fails all capability checks regardless of granted caps. The caps bitfield is preserved — unblocking restores previous capabilities. Returns a new AclState — the original is not modified.
Current ACL state
Napplet identity to block
New AclState with the identity blocked
const state2 = block(state, id);check(state2, id, CAP_RELAY_READ); // false (blocked) Copy
const state2 = block(state, id);check(state2, id, CAP_RELAY_READ); // false (blocked)
Block an identity.
A blocked identity fails all capability checks regardless of granted caps. The caps bitfield is preserved — unblocking restores previous capabilities. Returns a new AclState — the original is not modified.