Open JaneJeon opened 3 years ago
Another mature option is https://www.drools.org, which, given that it's supported by RedHat, can't be any more solid!
e: nvm, it's only for Java. Fuck.
@sssss465 you can take this on, should be simple enough?
I'll look at it if I have time 😉
@sssss465 cough
For this we might have to expand the definition of "authorization library", but I know for a fact that there exist "rule engines" that can effectively be used for the same purpose, with the additional benefit of being able to see/build/debug the rules visually in the UI, without having to write test cases which are a pain in the ass.
For starters, I know for a fact that https://github.com/cachecontrol/json-rules-engine can be used to do "if this then that", with the only caveat being that you need to configure "then that" part to tell the objection-authorize plugin to say "DON'T ALLOW THIS", but this is where the pluggable interface comes in!
Plus, it has a nice UI you can use: https://github.com/vinzdeveloper/json-rule-editor