Replies: 1 comment
-
you can use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Thanks for providing this module.
My question is about supporting complex rules involving the requirement that multiple Require statements need be satisfied.
For example suppose the hypothetical need to have an ACL with both
aud
andscope
, where scope is a space-separated list of terms. I've wrapped the terms with regex word boundary \b markers, but appreciate the native support for tokenizing terms offering stronger equality matching.example only,
where
#
is a made up syntax for meaning "in the list of"I understand RewriteCond has an implicit AND and supports [OR] as a flag. Here's our equivalent
The
jq
support offers most possibilities, theindex
syntax offering robust equality checking,I'm not sure how nice a very long clause could be split over multiple lines for readability, where (arguably) having more control over how multiple Require statements would be beneficial. Haven't tried
jq
as our policy permits taking compiled packages, but not building from source. Hence the following question:Could the
jq
support be added to the binary release by default?Questions for the roadmap,
Require
support "AND"?scope
Beta Was this translation helpful? Give feedback.
All reactions