@runningbeta/rbac-solidity
v0.0.3
Published
RBAC (Role-Based Access Control) based on openzeppelin-solidity but using bytes32 type for roles
Downloads
13
Maintainers
Readme
rbac-solidity 🃏
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.
Getting started
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