casbin / casbin-rs

An authorization library that supports access control models like ACL, RBAC, ABAC in Rust.
https://casbin.org
Apache License 2.0
816 stars 66 forks source link

Support frontend WASM authorization via Casbin-RS #297

Open hsluoyz opened 2 years ago

hsluoyz commented 2 years ago

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 Casbin-RS project development, I have two suggestions:

  1. Avoid creating issues and resolving them by ourselves (aka 自问自答, 闭门造车) in future.
  2. Try to connect to the world of Rust, learn what Rust developers need for authorization, listen to their voices, and develop good software that they will use. We need to have REAL users for this piece of software. We need to learn what are the most popular and boosting projects written in Rust and how we could integrate/collarborate with them (like the RustDesk example I gave).

I have watched all Casbin repos, including all Casbin-RS repos. AFAIK, I didn't see many real users interacting with Casbin-RS repos and code for long time. This is what I worried about.

@GopherJ any suggestions?

casbin-bot commented 2 years ago

@smrpn @hackerchai @PsiACE @GopherJ

hsluoyz commented 2 years ago

@SiddheshKanawade @greenhandatsjtu