@thepalaceproject/circulation-admin
    Preparing search index...

    Function validatePatronBlockingRuleExpression

    • Validate a patron blocking rule expression against live ILS data on the server.

      The server loads the saved PatronAuthService by serviceId, makes a live authentication call using its configured test credentials, and evaluates the rule expression against the real patron data returned.

      On success, returns the available_fields dictionary (patron data from the SIP call) so callers can display template variable names and sample values to the user. On failure, returns the error message string.

      Parameters

      Returns Promise<ValidationResult>