Versions in this module Expand all Collapse all v1 v1.8.3 May 19, 2017 Changes in this version + func NewAuthorizer(e *casbin.Enforcer) beego.FilterFunc + type BasicAuthorizer struct + func (a *BasicAuthorizer) CheckPermission(r *http.Request) bool + func (a *BasicAuthorizer) GetUserName(r *http.Request) string + func (a *BasicAuthorizer) RequirePermission(w http.ResponseWriter)