DEV Community

loading...

Access Control with Solidity & OpenZeppelin | Authorization, RBAC (Role Based Access Control)

jklepatch profile image Julien Klepatch ・1 min read

Most Solidity smart contracts need to implement access control. In this tutorial, I will show you how to implement basic access control with pure Solidity, as well as more advanced role-based patterns like RBAC, using the OpenZeppelin library:

  • Authentication vs Authorization
  • Basic access control in Solidity
  • Ownable pattern with OpenZeppelin
  • Secondary pattern with OpenZeppelin
  • RBAC (Role-Based Access Control) with OpenZeppelin

Discussion (0)

pic
Editor guide