You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`name="string value"`| Equivalent to `(= subject.name "string value")`|
117
+
|`and`| Conjunction of 2 expressions |
118
+
|`or`| Disjunction of 2 expressions |
119
+
|`not`| Negation of an expression |
120
+
|`identifier`| Equivalent to `(= subject.identifier "identifier")`|
121
+
|`()`| Parentheses. Used to group expressions. The precedence rules are `not > and > or`|
122
+
123
+
124
+
### Evaluation
125
+
47
126
We evaluate a policy by doing the following:
48
127
49
128
* Each attribute `attribute_name/attribute_value` is added to the environment as an identifier `subject.attribute_name` associated to the value `attribute_value` (always as a `String`). In the example of a policy given above the identifier `subject.name` means that we are expecting an attribute `name` associated to the identity which sent a message.
0 commit comments