Ernesto García a51f1e1354 List every contract in each API doc section (#4848) пре 1 година
..
extensions ef68ac3ed8 Add getRoleMembers method to return all accounts that have role (#4546) пре 1 година
manager 920225a1c7 Add missing return value names in IAccessManager (#4829) пре 1 година
AccessControl.sol 3e6c86392c Merge release-v5.0 branch (#4665) пре 2 година
IAccessControl.sol 7bd2b2aaf6 Use ERC-XXX syntax (#4730) пре 1 година
Ownable.sol 3e6c86392c Merge release-v5.0 branch (#4665) пре 2 година
Ownable2Step.sol 74016c376a Update docs for Ownable2Step (#4721) пре 1 година
README.adoc a51f1e1354 List every contract in each API doc section (#4848) пре 1 година

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.

- {AccessManager} is a full-fledged access control solution for smart contract systems. Allows creating and assigning multiple hierarchical roles with execution delays for each account across various contracts.
- {AccessManaged} delegates its access control to an authority that dictates the permissions of the managed contract. It's compatible with an AccessManager as an authority.
- {AccessControl} provides a per-contract role based access control mechanism. Multiple hierarchical roles can be created and assigned each to multiple accounts within the same instance.
- {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.

== Core

{{Ownable}}

{{Ownable2Step}}

{{IAccessControl}}

{{AccessControl}}

== Extensions

{{IAccessControlEnumerable}}

{{AccessControlEnumerable}}

{{IAccessControlDefaultAdminRules}}

{{AccessControlDefaultAdminRules}}

== AccessManager

{{IAuthority}}

{{IAccessManager}}

{{AccessManager}}

{{IAccessManaged}}

{{AccessManaged}}

{{AuthorityUtils}}