Unblock an identity.
Restores capability checks to use the caps bitfield. Returns a new AclState — the original is not modified.
Current ACL state
Napplet identity to unblock
New AclState with the identity unblocked
const state2 = unblock(state, id);check(state2, id, CAP_RELAY_READ); // true (if cap was granted) Copy
const state2 = unblock(state, id);check(state2, id, CAP_RELAY_READ); // true (if cap was granted)
Unblock an identity.
Restores capability checks to use the caps bitfield. Returns a new AclState — the original is not modified.