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

feat: add ABAC & JSON related test cases #376

Closed LMay001 closed 9 months ago

LMay001 commented 9 months ago

part of https://github.com/casbin/jcasbin/issues/367 1.feat:add JSON process for ABAC model 2.sync test case TestABACMapRequest and TestABACTypes

casbin-bot commented 9 months ago

@tangyang9464 @imp2002 please review

codecov-commenter commented 9 months ago

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (00bc8e8) 69.03% compared to head (86930d7) 69.02%.

Files Patch % Lines
...ain/java/org/casbin/jcasbin/main/CoreEnforcer.java 82.35% 2 Missing and 1 partial :warning:
src/main/java/org/casbin/jcasbin/util/Util.java 60.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #376 +/- ## ========================================== - Coverage 69.03% 69.02% -0.01% ========================================== Files 53 53 Lines 2351 2373 +22 Branches 414 417 +3 ========================================== + Hits 1623 1638 +15 - Misses 622 627 +5 - Partials 106 108 +2 ```

: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.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: