Hadrien Croubois 24a0bc23cf Reorganize the repo structure (#2503) 4 년 전
..
AccessControl.sol e341bdc1b7 Remove enumerable from AccessControl and add AccessControlEnumerable extension (#2512) 4 년 전
AccessControlEnumerable.sol 24a0bc23cf Reorganize the repo structure (#2503) 4 년 전
Ownable.sol 0db76e98f9 Merge branch 'solc-0.7' into solc-0.8 4 년 전
README.adoc 24a0bc23cf Reorganize the repo structure (#2503) 4 년 전

README.adoc

= Access

[.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}}

{{AccessControl}}

{{AccessControlEnumerable}}