Casbin Forum runs on Casnode, the open-source Discourse-style forum. Try the Casnode demo →
Casbin Forum

Hello,
maybe it's something that I don't quite grasp around casbin config, but shouldn't this return false ? Since we have a deny rule ?

image.png

1views
2users
1 minread

Ok so I've understood my mistake. The sub_rule acts as a filter to whom this rule will be applied to. In my case, age 10 falls out of the filter, so no rules are applied, so it returns true

1 / 4
Dec 2024