Closed anhldbk closed 4 years ago
@anhldbk hi, you are sending to the wrong place. Please send online editor related questions to: https://github.com/casbin/casbin-editor
@hsluoyz Diving into jcasbin code base, I've found following logic
public boolean mergeEffects(String expr, Effect[] effects, float[] results) {
boolean result;
if (expr.equals("some(where (p_eft == allow))")) {
result = false;
for (Effect eft : effects) {
if (eft == Effect.Allow) {
result = true;
break;
}
}
}
//
}
Looks like it's hard coded into the implementation.
Hi there,
I see an error while customizing policy model
Here what the error looks like:
If I modify
effect
back toeft
, everything works normally.Would you please tell me is this an intended behaviour?
Thank you.