Setu-TS
    Preparing search index...

    Interface ScopedGuardOptions

    Options of a scoped guard.

    0.9.0

    interface ScopedGuardOptions {
        scope?: ScopeSource;
    }
    Index
    scope?: ScopeSource

    Where the check's scope comes from. Defaults to scopeFromTenant() — the resolved request tenant. null checks global grants only. A function answering undefined leaves the scope unresolved, and the guard denies.