type DynGate
The compiled policy Name { allow set if … } of a dynamic config: may caller change field at layer (global, zone:eu, …) to value?
Example:
dynamic Limits {
rps: u32 = 100
}
// who may change `Limits`: only an operator service
policy Limits {
allow set if caller.service("operator")
}pub(api) type DynGate = fn(Principal, str, str, str) -> boolSince. 1.0.0-beta
Defined in: std/core/dynconf.oxl:79