Files
openzeppelin-contracts/contracts/access
Hadrien Croubois 6dab43c3a9 AccessControlEnumerable: Hook into the internal function (#2946)
* AccessControlEnumerable: Hook into the internal function

* add changelog entry

(cherry picked from commit 7579828180)
2021-11-08 12:23:37 -03:00
..
2021-10-20 17:21:04 -03:00
2021-10-20 17:21:04 -03:00
2021-10-20 17:21:04 -03:00
2021-10-20 17:21:04 -03:00

= Access Control

[.readme-notice]
NOTE: This document is better viewed at https://docs.openzeppelin.com/contracts/api/access

This directory provides ways to restrict who can access the functions of a contract or when they can do it.

- {AccessControl} provides a general role based access control mechanism. Multiple hierarchical roles can be created and assigned each to multiple accounts.
- {Ownable} is a simpler mechanism with a single owner "role" that can be assigned to a single account. This simpler mechanism can be useful for quick tests but projects with production concerns are likely to outgrow it.

== Authorization

{{Ownable}}

{{IAccessControl}}

{{AccessControl}}

{{IAccessControlEnumerable}}

{{AccessControlEnumerable}}