Setu-TS
    Preparing search index...

    Interface IScopedRoleSource

    A source of per-scope custom roles.

    A grant naming a custom role resolves against the roles defined in the GRANT'S OWN scope only, so two scopes defining the same name never collide.

    0.9.0

    interface IScopedRoleSource {
        name: string;
        rolesFor(
            scopes: readonly ScopeRef[],
            signal: AbortSignal,
        ): Promise<readonly ScopedRoleDefinition[]>;
    }
    Index
    name: string

    A short name for the source, used in log records. Never a secret.