iya-sts
    Preparing search index...

    Variable holdForSecondAdministrator

    holdForSecondAdministrator: (
        entry: any,
        path: string,
        req: any,
        res: any,
    ) => boolean = ...

    Forwards to AdminApi.holdForSecondAdministrator(): the POST wrapper's two-person approval step (#2166), for a test.

    Type Declaration

      • (entry: any, path: string, req: any, res: any): boolean
      • Holds a high-risk act for a second administrator when two-person approval is on: stores it and answers 202 with its id. An act that is not held, or that runs because nobody else could decide it, is left to its handler.

        Parameters

        • entry: any

          the route table's row

        • path: string

          the route

        • req: any

          the request, whose body the schema has passed

        • res: any

          the response

        Returns boolean

        true when this answered