casbin / Casbin.NET

An authorization library that supports access control models like ACL, RBAC, ABAC in .NET (C#)
https://casbin.org
Apache License 2.0
1.13k stars 110 forks source link

Fix CI error: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state #296

Closed hsluoyz closed 1 year ago

hsluoyz commented 1 year ago

See: https://github.com/casbin/Casbin.NET/actions/runs/3087920959/jobs/4993888459

image

casbin-bot commented 1 year ago

@sagilio @sociometry @AsakusaRinne

hsluoyz commented 1 year ago

@AsakusaRinne

/cc @sagilio

AsakusaRinne commented 1 year ago

It was also mentioned here that the non-concurrent dictionary of cache of the new version raises exception when using ParallelBatchEnforce. I'll try to fix it.

sagilio commented 1 year ago

close by #297

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 2.0.0-preview.5 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

choby commented 1 year ago

Can this bug be fixed in version 1.x ?

github-actions[bot] commented 11 months ago

:tada: This issue has been resolved in version 2.0.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

github-actions[bot] commented 11 months ago

:tada: This issue has been resolved in version 2.0.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: