Access Control
It allows an admin to manage access control via roles.
Structs
AccessControl
roles - Map to store a role => set of addresses with said role.
Admin
Address of the
AccessControl
this capability belongs to.
Interface
new
It creates an `AccessControl` and an `Admin` with the `SUPER_ADMIN_ROLE`.
@return `AccessControl`. It stores the role's data.
@return `Admin`. The `SUPER_ADMIN_ROLE` `Admin`.
Last updated