Adapted version of Access Control from OpenZeppelin to fit the storage-module architecture, that allows contracts to implement role-based mechanisms. When DIMORegistry is deployed, the DEFAULT_ADMIN_ROLE is assigned to the deployer in order to allow them to fully manage the system. This role also permits the creation, granting, and revoking of roles from other addresses.
To manage access to a function, we can use the onlyRole modifier and specify the role that the msg.sender must have to invoke that function.