-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
We currently use the AWS way of handling null values in permission conditions (see https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_Null).
While this provides the expected functionality, it forces the consumers to duplicate their permissions in cases where null
is one of the accepted values in addition to another type.
{
id: 'WithString',
condition: {
stringEquals: {
simpleValue: { foo: 'bar' }
}
}
}
{
id: 'WithNull',
condition: {
null: {
simpleValue: { foo: 'true' }
}
}
}
Instead, we would like to find a more elegant solution that would consumers to express the previous 2 conditions as a single "string OR null" statement.
Metadata
Metadata
Assignees
Labels
No labels