policy-engine/pkg
Airat Arifullin ab67b9028e [#93] chain: Introduce new condition operations
* Introduce new operation with suffix "IfExists" for all
  string and numeric condition operations;
* An operation with "IfExists" suffix specifies the following: if the condition key
  is present in the context of the request, process the key as specified in the policy.
  If the key is not present, evaluate the condition element as true;
* Change the signature for interface method `Property()`: since it returns two
  values - the second indicates whether the property exists;
* This also means that original condition operations for string and number comparison
  is slightly changed: if property doesn't exist, then the condition is not evaluated.

Signed-off-by: Airat Arifullin <aarifullin@yadro.com>
2024-10-21 12:39:28 +03:00
..
chain [#93] chain: Introduce new condition operations 2024-10-21 12:39:28 +03:00
engine [#90] engine: Fix ruleFound return value 2024-08-21 07:20:38 +00:00
marshal [#1] chain: Add binary marshal/unmarshal 2024-01-24 11:04:03 +03:00
morph/policy [#62] morph: List morph rules chains by traversing iterator 2024-04-26 06:20:43 +00:00
resource [#93] chain: Introduce new condition operations 2024-10-21 12:39:28 +03:00