mirror of openzeppelin-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
openzeppelin-contracts/contracts/access
Benjamin 920225a1c7
Add missing return value names in IAccessManager (#4829)
1 year ago
..
extensions Add getRoleMembers method to return all accounts that have role (#4546) 1 year ago
manager Add missing return value names in IAccessManager (#4829) 1 year ago
AccessControl.sol Merge release-v5.0 branch (#4665) 1 year ago
IAccessControl.sol Use ERC-XXX syntax (#4730) 1 year ago
Ownable.sol Merge release-v5.0 branch (#4665) 1 year ago
Ownable2Step.sol Update docs for Ownable2Step (#4721) 1 year ago
README.adoc Document AccessManager functions and events in IAccessManager (#4660) 1 year ago

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