casbin / jcasbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Java

Home Page:https://casbin.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jcasbin EnableAcceptJsonRequest

170120010123 opened this issue · comments

It cannot be used in jcasbin

commented

it can be used in jcasbin
field "acceptJsonRequest" and method "enableAcceptJsonRequest" is designed in CoreEnforcer.java
the test case "testABACJsonRequest" in ModelUnitTest.java use it

@170120010123 your jCasbin version is too low. Upgrade to latest