-
See: https://github.com/flosse/rust-web-framework-comparison#frontend-frameworks-wasm
We can support `yew` first.
@hackerchai @PsiACE can we make a middleware to support it?
BTW, for the Casb…
-
I saw we built a custom access control service here: https://github.com/apache/incubator-teaclave/pull/64 . I found it is actually re-implementing something like Casbin-RS: https://github.com/casbin/c…
-
auto-loading:
https://github.com/casbin/casbin/blob/2ab8eb7c140a19a2687c7b0a14331756242c5741/enforcer_synced.go#L55-L83
auto-saving:
This is an unimplemented feature in casbin golang & casbi…
-
I'm trying to handle the `Adapter` trait from the main repo.
This is a sample function in the golang version of casbin-server (grpc) -
```go
func (s *Server) NewEnforcer(ctx context.Context, in *pb…
-
this will be done in some configuration file rather than DDL dialect in ClickHouse
We may reuse some existed libraries, for example, [casbin-rs](https://github.com/casbin/casbin-rs).
- [x] 1.0 B…
-
We usually use casbin-rs in a web server, that is when a request comes in, a middleware or controller asks casbin whether it's authenticated. A common situation is that we also have a frontend ui that…
-
Casbin has a tradition to make authz middlewares for web frameworks of that language (see: https://github.com/casbin/casbin-rs/issues/93). We need to make some middlewares for the most popular C/C++ w…
-
hello world demo,cargo run is normal,but debug run an error occurred,
thread 'main' panicked at auth\casbin\src\main.rs:30:10:
called `Result::unwrap()` on an `Err` value: IoError(Os { code: 3, ki…
-
I am trying to draft the `new_enforcer`, which is as below:
```rust
async fn new_enforcer(
&self,
i: Request,
) -> Result {
let mut a: Option = None;
let …
-
It'll help the developpers a lot if we can add more examples like what actix-web has done: https://github.com/actix/examples
Currently we don't have enough docs. I hope me or anyone else can find t…