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 not using policy for model #377

Closed LMay001 closed 9 months ago

LMay001 commented 9 months ago

1.feat:add not using policy for model 2.feat:add "#",";" process for conf file 3.sync test case: TestABACJsonRequest,TestKeyMatchCustomModel,TestRBACModelInMultiLines,TestABACNotUsingPolicy,TestABACPolicy,TestCommentModel

casbin-bot commented 9 months ago

@tangyang9464 @imp2002 please review

codecov-commenter commented 9 months ago

Codecov Report

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

Comparison is base (2c363e1) 69.02% compared to head (b2c81d5) 69.21%.

Files Patch % Lines
...rc/main/java/org/casbin/jcasbin/config/Config.java 80.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #377 +/- ## ========================================== + Coverage 69.02% 69.21% +0.19% ========================================== Files 53 53 Lines 2373 2378 +5 Branches 417 419 +2 ========================================== + Hits 1638 1646 +8 + Misses 627 624 -3 Partials 108 108 ```

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