Documentation
    Preparing search index...

    Function unblock

    • Unblock an identity.

      Restores capability checks to use the caps bitfield. Returns a new AclState — the original is not modified.

      Parameters

      Returns AclState

      New AclState with the identity unblocked

      const state2 = unblock(state, id);
      check(state2, id, CAP_RELAY_READ); // true (if cap was granted)