Properties
Link copied to clipboard
Allows everything. For tests and for hosts that have made the call.
Link copied to clipboard
Refuses everything. The right default for a wallet that has not thought about it.
Link copied to clipboard
The read surface of the JSON Ledger API — an allowlist of method + path prefix, not a rule about HTTP verbs.
Link copied to clipboard
The rules ReadOnly is built from, exposed so a host can compose a wider policy without restating the read surface.
Functions
Link copied to clipboard
A policy allowing exactly these method to path-prefix pairs, for hosts widening ReadOnly deliberately.