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

jcasbin EnableAcceptJsonRequest #389

Closed 170120010123 closed 8 months ago

170120010123 commented 8 months ago

It cannot be used in jcasbin

casbin-bot commented 8 months ago

@tangyang9464 @imp2002

LMay001 commented 8 months ago

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

hsluoyz commented 8 months ago

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