-
It seems sometimes diesel-adapter and sqlx-adapter can have problem of duplicated constraint name,
https://github.com/casbin-rs/sqlx-adapter/blob/b8739844129df6286f4d808a572140e8b4c3491c/src/action…
-
Hello, recently I'm having another issue, while creating a new user/role, I would like to assign some default rights for it.
We can definitly call multiple times `addPolicy` but it cannot guarantee…
-
before -> 13.0
after -> 14.1
```
name before ns/iter after ns/iter diff ns/iter diff % speedup
b_benchmark_abac_model 6,408 9,470 …
-
-
https://github.com/rhysd/github-action-benchmark looks pretty cool. I put it here in case anyone would like to give a try
-
I think some formal benchmarks will be great.
I don't really have large/complex enough scripts to really do a meaningful benchmark. And I'm not really an expert in this... nor do I have access to p…
-
Rust 1.42 will provide some pattern matching improvements and will be released on Mar 12, for details see https://blog.rust-lang.org/inside-rust/2020/03/04/recent-future-pattern-matching-improvements.…
-
Currently we load all the policies into casbin and then do the matching, this would cause a lot of memory when we have many policies(millions or more). A filtered adapter means when an `enforce` reque…
-
A proper logger is missing util now with the following features:
1. show the request (sub, obj, action) etc
2. show the enforce result
3. show if it's cached result (by adding a prefix [CACHE])
-