This is a RBAC (Role-Based Access Control) library based on openzeppelin-solidity but using bytes32 type for roles. We use this RBAC implementation, combined with a delegate proxy in r8-app project.
You will need Truffle framework:
# Make sure we have the latest truffle version
npm uninstall -g truffle
npm install -g truffle@latest
To test this project locally, clone the repo and run:
# install dependencies
npm install
# run tests
truffle test
To use the code we provide an NPM package:
# install dependencies
npm install @runningbeta/rbac-solidity