Skip to content

Add cleartext support for and_v(v:$sub1,$sub2) patterns#270

Draft
bigspider wants to merge 3 commits into
masterfrom
cleartext-subpolicies
Draft

Add cleartext support for and_v(v:$sub1,$sub2) patterns#270
bigspider wants to merge 3 commits into
masterfrom
cleartext-subpolicies

Conversation

@bigspider
Copy link
Copy Markdown
Contributor

While 'or' in taptrees can easily be split into different leaves, the same is not easily possible for policies that are composed with a conjunction (except with DNF reductions that incur in an exponential cost in the number of leaves, which is not practical).

This adds minimal support for matching pattern with disjunctive policies, even just at a single level of nesting.

@bigspider bigspider force-pushed the cleartext-subpolicies branch from 43361a1 to b3695da Compare May 29, 2026 21:51
bigspider added 2 commits May 30, 2026 00:00
While 'or' in taptrees can easily be split into different leaves,
the same is not easily possible for policies that are composed
with a conjunction (except with DNF reductions that incur in an
exponential cost in the number of leaves, which is not practical).

This adds minimal support for matching pattern with disjunctive
policies, even just at a single level of nesting.
@bigspider bigspider force-pushed the cleartext-subpolicies branch from b3695da to 3c41ef3 Compare May 29, 2026 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant