iya-sts
    Preparing search index...

    Variable enclosingPolicy

    enclosingPolicy: (policy: any, path: string) => any = ...

    Type Declaration

      • (policy: any, path: string): any
      • Returns the nearest Policy or PolicySet enclosing a path: the scope a VariableReference there resolves in.

        Parameters

        • policy: any

          the policy model

        • path: string

          the dotted path

        Returns any

        the enclosing Policy or PolicySet, the root when there is none