Digix Contract Access Control Patterns
A sample module using truffle's fancy npm functionality.
npm install --save @digix/cacp-contracts
That's right, you can now add Solidity contracts to your project using NPM, and it knows which address to use in your project depending on the chain!
ACConditionswill not work correctly when called from the constructor of the contract itself. Please beware of this fact when using these functions.