github-actions[bot] 932fddf69a Release v5.0.0 (#4662) 2 سال پیش
..
extensions 932fddf69a Release v5.0.0 (#4662) 2 سال پیش
manager 932fddf69a Release v5.0.0 (#4662) 2 سال پیش
AccessControl.sol 932fddf69a Release v5.0.0 (#4662) 2 سال پیش
IAccessControl.sol 932fddf69a Release v5.0.0 (#4662) 2 سال پیش
Ownable.sol 932fddf69a Release v5.0.0 (#4662) 2 سال پیش
Ownable2Step.sol 932fddf69a Release v5.0.0 (#4662) 2 سال پیش
README.adoc d27635fc67 Document AccessManager functions and events in IAccessManager (#4660) 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.

== Core

{{Ownable}}

{{Ownable2Step}}

{{IAccessControl}}

{{AccessControl}}

== Extensions

{{IAccessControlEnumerable}}

{{AccessControlEnumerable}}

{{IAccessControlDefaultAdminRules}}

{{AccessControlDefaultAdminRules}}

== AccessManager

{{IAuthority}}

{{IAccessManager}}

{{AccessManager}}

{{IAccessManaged}}

{{AccessManaged}}

{{AuthorityUtils}}