Class: Base

Base

new Base(rbac, name, add, cb)

Base constructor
Name Type Description
rbac RBAC Instance of the RBAC
name String Name of the grant
add Boolean True if you need to save it to storage
cb function Callback function after add

Members

nameString

Get name of actual instance

rbacRBAC null

Get instance of RBAC

Methods

remove(cb){Base}

Remove this from RBAC (storage)
Name Type Description
cb function Callback function