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

fix: fix not using policy bug for enforcer (testABACJsonRequest, testABACNotUsingPolicy) #378

Closed LMay001 closed 9 months ago

LMay001 commented 9 months ago

fix not using policy bug for enforcer and sync test case part of #367

casbin-bot commented 9 months ago

@tangyang9464 @imp2002 please review

codecov-commenter commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (2c363e1) 69.02% compared to head (812ccda) 69.19%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #378 +/- ## ========================================== + Coverage 69.02% 69.19% +0.16% ========================================== Files 53 53 Lines 2373 2373 Branches 417 417 ========================================== + Hits 1638 1642 +4 + Misses 627 624 -3 + Partials 108 107 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 9 months ago

:tada: This PR is included in version 1.46.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: