Radiator Server Documentation — v10.33.2
while
While statement for returning on first reject (default for all blocks)
Table of Contents
while
NOTE: The until action should be used instead of pipeline directives. The until action provides a readable and flexible way to control pipeline execution.
Return on first reject (this is a default for all blocks).
Standalone action for the while pipeline directive.
This is useful when you want to go back to default while behavior inside another pipeline directive.
Example
all {
backend "VALIDATE_USER";
while {
backend "CHECK_PERMISSIONS";
backend "VERIFY_LICENSE";
}
}
Migration to until
Use until reject {}
until reject {
backend "CHECK_PERMISSIONS";
backend "VERIFY_LICENSE";
}
Table of Contents