Blockchain Developer Blockchain Security Principles Questions and Answers
A smart contract is designed to manage roles for a decentralized application, including 'admin' and 'user'. The contract owner should be able to grant and revoke these roles. Following the Principle of Least Privilege, which access control design pattern is most appropriate for this scenario?