Radiator Server Documentation — v10.34.2
DEPRECATED: Use a standalone assignment, such as user.privilege = "write";, instead
set
Set action for assigning values to context attributes
set
The set action is deprecated. Use a standalone assignment with the =
operator instead. Configurations that use set still work, but Radiator Server
logs a deprecation warning.
set unconditionally assigns a value to an attribute. If the attribute already
has a value, it is replaced.
Syntax
set <attribute> <value>;
Migration
# Deprecated
set user.privilege "write";
set vars.greeting "hello";
# Use instead
user.privilege = "write";
vars.greeting = "hello";
See assignment operators for the other operators.