Skip to content

Latest commit

 

History

History

casbin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Casbin

Iris web framework's casbin middleware.

The authorization determines a request based on {subject, object, action}. Please refer to the Casbin's documentation in order to understand how it works first.

$ go get github.com/casbin/casbin/v2@latest
$ go get github.com/iris-contrib/middleware/casbin@master

Table of contents

Each example has its own model, configuration and its tests, please read them as well.