Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 728 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 728 Bytes

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.