iya-sts
    Preparing search index...
    decide: (question: any, primary: any, evaluation: any) => any[] = GnapRightVerdicts.decide

    Type Declaration

      • (question: any, primary: any, evaluation: any): any[]
      • Decides every right of one question, the realm's policy first and the built-in one where it says nothing.

        Parameters

        • question: any

          { subject, protocol, mode, stage, settings, rights, policyName }

        • primary: any

          { policy, builtIn }, or null

        • evaluation: any

          the engine's options, or a function of the request

        Returns any[]

        one verdict per right