Problem/Motivation
Conditions API include an option so any condition can be negated by default.
In the case of those conditions with multiple selection (e.g. User Role), those are matched if any of the options match.
It would be great allowing to select if we want ANY match or ALL matches.
This would translate to instead of a roleX OR roleY, the condition will match if roleX AND roleY if the flag is true.
Proposed resolution
Conditions should have a flag for ANY/ALL. Default will be ANY.
Remaining tasks
TBD
User interface changes
TBD
Added all bool to config schema `type: condition.plugin`
Introduced terminology
None.
API changes
New flag.
Data model changes
New config schema, new default, needs upgrade path.
Release notes snippet
Comments
Comment #2
penyaskitoWish we had a component, using a tag meanwhile.
Comment #3
owenbush commented+1 for this one.