-
assigned issue to
- marked as proposal
Add and / or capability to access rules
Issue #221
new
Currently we explode a single field to determine access rules such as "usertype=staff"
It could be useful to add the ability for multiple fields by parsign the AND / OR operator so we could use:
usertype=staff&&faculty=hls faculty=hls||faculty=fbl||usertype==staff
We do not need to be able to nest these / use parenthesis, I think the above would suffice and would be reasonably easy to parse.
This is not a priority, but would be nice to have at some point.
The code for checking these rules is already centralised.
Comments (3)
-
reporter -
That would be great
-
Issue
#645was marked as a duplicate of this issue. - Log in to comment
I am changing this to a proposal whilst we decide whether to add options to check for:
which could be achieved with string de-limiters like:
Regarding the original concept of this issue, we could also expand to allow for more complex rules like: