iya-sts
    Preparing search index...
    hold: (spec: any) => any = ...

    Type Declaration

      • (spec: any): any
      • Holds an act for a second administrator, or says why it runs at once.

        Parameters

        • spec: any

          { row, operationId, route, action, body, caller, authority }: the table's row, the operation, its route and action, the validated body, the gate's caller and the role the act needed

        Returns any

        { held: true, request } for a stored request, { held: false, why, code } for an act that runs at once, or { held: false, refused: true, errors, code } when it can be neither held nor run