...
Schema can use the
config.operator
or can omit. Theconfig.operator
takesand
or
values which signifyAND
andOR
operation. IfAND
is used, then both keys are checked against the token and both need to match, ifOR
is used, then one of the key should match in the tokenFor a given check, the schema will not allow both
AND
OR
operation to be used (examplea && b || c
). These type of checks will be treated as custom checks and will be directly implemented in rego. But these will workaa || bb || cc
,aa && bb && cc
Sample token structure
...