Switch branches/tags
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
_examples
README.md
casbin.go

README.md

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
$ go get github.com/iris-contrib/middleware/casbin

Table of contents

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