🐛 fix the casbin invalidation bug/adjust routing strategy
This commit is contained in:
@@ -8,7 +8,7 @@ p = sub, obj, act
|
||||
g = _, _
|
||||
|
||||
[policy_effect]
|
||||
e = some(where (p.eft == allow)) && !some(where (p.eft == deny))
|
||||
e = some(where (p.eft == allow))
|
||||
|
||||
[matchers]
|
||||
m = g(r.sub, p.sub) && r.obj == p.obj && r.act == p.act
|
Reference in New Issue
Block a user