Just a demo for actix-web & casbin.
git clone git@github.com:PsiACE/actix-casbin-example.git
# or https://github.com/PsiACE/actix-casbin-example.git
cd actix-casbin-example
cargo run
In this example, you can get the the successful result at http://localhost:8080/success
(accessible) and the failed result at http://localhost:8080/fail
(inaccessible, ERR_EMPTY_RESPONSE
).
Chojan Shang - @PsiACE - psiace@outlook.com
Project Link: https://github.com/psiace/actix-casbin-example
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)