Armağan Amcalar
Project · since 2018 · 119 GitHub stars

recht

A concise rule engine to express and enforce rules for selections, permissions and the like.

Recht lets you describe rules as rows of allowed and denied combinations, with wildcards, and then ask whether a given combination is permitted or which options remain. It is useful for permission systems and for product configurators, where the allowed choices depend on each other.