Stone.js API
    Preparing search index...

    Options for the @Authz decorator: the stone.authz bucket, every key optional.

    interface AuthzDecoratorOptions {
        policies?: Record<string, unknown>;
        resolveAbility?: AbilityResolver;
    }

    Hierarchy (View Summary)

    Index
    policies?: Record<string, unknown>

    Named policies a route or a handler can refer to by name.

    Filled by @Policy, and may be set by hand. Naming a policy that is not registered denies the request: a missing policy must never read as permission.

    resolveAbility?: AbilityResolver

    Builds the ability for the current principal. Defaults to a deny-all ability.