You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.
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!
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
The text was updated successfully, but these errors were encountered: