Skip to content

g1eng/aclneko

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An Access Control Abstract for Caitsith

About

ACLNeko is a Rust binding for caitsith policy language.

Features

  • Single Acl struct for a valid bundle of caitsith's policy blocks and rules. You can list, search, add, remove, merge, unmerge or report statics of policy blocks with its simple builtin methods.
  • Builtin syntax checker. Any invalid inputs for policy headers or rules are rejected to be applied.
  • Enhanced search. Any policy blocks in Acl object can be searched with its priority, operation or regex pattern of the line.
  • I/O support. You can read policy from a file or plain text, and write policy into file, plain text or JSON.

Usage Example

Limitation

Warning

Not for production.

This is an artifact of a PoC project in three years ago. Its syntax tree is built with regex and has poor performance to analyze bigger policy files.

Author

youmeim

About

Caitsith policy wrapper for Rust

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages