gatehouse-ts
    Preparing search index...

    Interface Policy<Subject, Resource, Action, Context>

    Interface for all policy types in the system.

    interface Policy<Subject, Resource, Action, Context> {
        evaluateAccess: EvaluateAccess<Subject, Resource, Action, Context>;
        name: string;
    }

    Type Parameters

    • Subject

      The type of the subject requesting access

    • Resource

      The type of resource being accessed

    • Action

      The type of action being performed

    • Context

      Additional contextual information

    Index

    Properties

    Properties

    The entity requesting access.

    The action being performed.

    The target resource.

    Additional context that may affect the decision.

    name: string

    Policy name for debugging.