casbin / jcasbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Java
https://casbin.org
Apache License 2.0
2.38k stars 462 forks source link

feat: fix ConcurrentModificationException bug that breaks Enforcer when calling Enforce() #390

Closed LMay001 closed 6 months ago

LMay001 commented 6 months ago

fix bug: ConcurrentModificationException breaks Enforcer when calling Enforce()

Fix: https://github.com/casbin/jcasbin/issues/361

casbin-bot commented 6 months ago

@tangyang9464 @imp2002 please review

codecov-commenter commented 6 months ago

Codecov Report

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

Project coverage is 69.38%. Comparing base (95ed353) to head (260d60f).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #390 +/- ## ======================================= Coverage 69.38% 69.38% ======================================= Files 53 53 Lines 2401 2401 Branches 423 423 ======================================= Hits 1666 1666 Misses 621 621 Partials 114 114 ```

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