mikespook / gorbac

goRBAC provides a lightweight role-based access control (RBAC) implementation in Golang.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error handling now done correctly

virajindasrao opened this issue · comments

func (p *StdPermission) Match(a Permission) bool {

api:runtime error: invalid memory address or nil pointer dereference
github.com/mikespook/gorbac/permission.go:33
github.com/mikespook/gorbac/role.go:53
github.com/mikespook/gorbac/rbac.go:199
github.com/mikespook/gorbac/rbac.go:194
github.com/mikespook/gorbac/helper.go:78

commented

Could you give me more details? Thanks!