# README
go-rbac
A simplified role-based access control (RBAC) implementation, inspired by gorbac
Purpose
- Only three objects:
identity
,role
andpermission
- One to many relationship between
identity
androles
. - One to many relationship between
role
andpermissions
. - One to many relationship between
role
and parentroles
(inheritance relationship).
Features
- An
identity
has one or moreroles
. - A
role
has one or morepermissions
. - A
role
can inherit one or more otherroles
(inheriting theirpermissions
). - Both
identity
,role
,permission
are defined by ID string. - Pure no third party library dependent.
Installation
go get -u github.com/WindomZ/go-rbac
License
The MIT License