Skip to content

speza/casbin-bolt-adapter

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Casbin BoltDB Adapter (Experimental)

I have marked this as experimental because I haven't put an awful amount of time into it. It needs more use to confirm its suitable for others needs.

speza

A simple Casbin BoltDB Adapter (see https://casbin.org/docs/en/adapters). This flavour supports the auto-save functionality.

Right now it supports the autosave functionality, and I've worked in some restricted filtered adapter functionality - difficult with a simple k/v store like Bolt.

Individual policy lines get saved into the specified BoltDB bucket which is keyed using a :: delimited value of the role. The value content is a JSON representation of the policy rule.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages