Francisco 6bf68a41d1 Remove "available since" comments (#4424) 2 лет назад
..
AccessControl.sol 6bf68a41d1 Remove "available since" comments (#4424) 2 лет назад
AccessControlDefaultAdminRules.sol 6bf68a41d1 Remove "available since" comments (#4424) 2 лет назад
AccessControlEnumerable.sol 874c2d3c02 Use explicit imports (#4399) 2 лет назад
IAccessControl.sol 6bf68a41d1 Remove "available since" comments (#4424) 2 лет назад
IAccessControlDefaultAdminRules.sol 6bf68a41d1 Remove "available since" comments (#4424) 2 лет назад
IAccessControlEnumerable.sol 874c2d3c02 Use explicit imports (#4399) 2 лет назад
Ownable.sol 874c2d3c02 Use explicit imports (#4399) 2 лет назад
Ownable2Step.sol 874c2d3c02 Use explicit imports (#4399) 2 лет назад
README.adoc 0f10efe232 Remove code in preparation for v5.0 (#4258) 2 лет назад

README.adoc

= 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}}

{{Ownable2Step}}

{{IAccessControl}}

{{AccessControl}}

{{IAccessControlEnumerable}}

{{AccessControlEnumerable}}

{{AccessControlDefaultAdminRules}}