Comments (4)
@sagilio @sociometry @AsakusaRinne
from casbin.net.
Thank you for telling us this issue. I agree with you that it's caused by not using concurrent dictionary in GFunctionCache
. We also noticed it two weeks ago and fixed it in #297 . However, this fix is not included in 2.0.0.-preview.4
. If you don't mind using an unstable release, I think it can be fixed with the version 2.0.0-preview.4-build.332.preview.a6c464e
by specifying the following config file as nuget source. We'll publish a stable release in the future. :)
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="casbin-net.myget.org" value="https://www.myget.org/F/casbin-net/api/v3/index.json" />
</packageSources>
</configuration>
from casbin.net.
@AsakusaRinne Thank you, I will try this, however it seems SyncedEnforcer is left out of this package, is the default Enforcer thread safe?
from casbin.net.
Yes, there are some break changes in this package, including making DefaultEnforcer
thread safe.
from casbin.net.
Related Issues (20)
- .NET 6 support HOT 6
- ParseException when pass a `RequestValue` to `Enforce` method HOT 9
- Fix CI error HOT 4
- An expression cannot be used in this context because it cannot be passed or returned by reference HOT 4
- Enforcer.Enforce throws exception when model contains similar definitions HOT 3
- Does using Casbin.NET support defining multiple M's in matchers? For example, m1 m2 HOT 3
- Casbin .NET doesn't support commas in policy HOT 3
- Where can I find ASP.NET 6 examples? HOT 7
- Check collection in ABAC with policy HOT 4
- Updating Policies directly on the IPolicyStore model not reflected in Enforcer HOT 4
- Rules work on Casbin Editor but not on Casbin.Net HOT 6
- Use semantic-release to auto release new versions HOT 2
- Apply politic to objects of different class going to excaption, but in posible in Go version HOT 5
- .NET library does not support multi-line mode with '\' line feeds HOT 1
- Cannot add named groups in Casbin v2 HOT 3
- Cannot get Policy with null value in EF core Adapter. HOT 8
- Enforcer hangs during multi-threaded modifications HOT 11
- bug: fix CI error: error: Response status code does not indicate success: 413 (The total packages size for the pending uploads is too large. The feed owner may have to upgrade the MyGet subscription to resolve this issue.). HOT 2
- How to return a custom type instead of using IQueryable type in IPolicyFilter HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from casbin.net.