casbin / jcasbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Java
https://casbin.org
Apache License 2.0
2.4k stars 464 forks source link

"Could not find function named 'eval'" when trying with ABAC example #84

Closed JavaMiner closed 4 years ago

JavaMiner commented 4 years ago

Running example from the chapter Scaling the model for complex and large number of ABAC rules end-up with exception: com.googlecode.aviator.exception.ExpressionRuntimeException: Could not find function named 'eval'

Could you please advise how to enable the eval() method in jCasbin?

hsluoyz commented 4 years ago

@JavaMiner the eval() feature is still not added to jCasbin.

@tldyl can you add the scaling ABAC feature?