Casbin = way to authorization
A place for Casbin developers and users
Sign Up Now
For Existing Member  Sign In
Choose theme
Default ✅
v2ex-zhihu-theme 
BenP
Casnode  ›  Casbin

PyCasbin Function 'eval' not defined, for expression 'eval(p_sub_rule) and r_obj == p_obj and r_act

  •  
  •  
    BenP · 4 years ago · 182 hits 
    This is a topic created 1592 days ago, the information in it may have changed.

    When I attempt to use the "ABAC with Policy" rule found in the policy editor, pycasbin creates the following error on e.enforce(sub, obj, act):

    Exception has occurred: FunctionNotDefined
    Function 'eval' not defined, for expression 'eval(p_sub_rule) and r_obj == p_obj and r_act == p_act'.

    Can someone tell me why this occurs.

    182 hits  ∙  0 favorites  
      Tweet Weibo Ignore 
    No reply yet
    About   ·   FAQ   ·   API   ·   Mission   ·   Advertise   ·   Thanks   ·   Tools   ·   20 Online   Highest 40   ·     Select Language  ·     Select Editor
    Community of Creators
    World is powered by code
    VERSION: 2c477f2 · 50ms · UTC 15:36 · PVG 23:36 · LAX 08:36 · JFK 11:36
    ♥ Do have faith in what you're doing.