Skip to content

apache/casbin-rust-ntex-file-adapter-acl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ntex FileAdapter ACL

Basic integration of Casbin-RS with FileAdapter for ntex.

This example uses the ACL model.

Usage

cd examples/ntex_fileadapter_acl

Modify the files in the acl directory and the code in the src directory as required.

Running Server

cd examples/ntex_fileadapter_acl
cargo run (or ``cargo watch -x run``)

# Started http server: 127.0.0.1:8080

In this example, you can get the the result at http://localhost:8080/auth/{name}/{action}, please use alice or bob instead of {name}, use read or write instead of {action}.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors