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
Renan Souza df2778f38e
Remove override interface implementations (#4315)
2 years ago
..
AccessControl.sol Remove override interface implementations (#4315) 2 years ago
AccessControlDefaultAdminRules.sol Bump minimum pragma version to `0.8.19` (#4288) 2 years ago
AccessControlEnumerable.sol Remove override interface implementations (#4315) 2 years ago
IAccessControl.sol Bump minimum pragma version to `0.8.19` (#4288) 2 years ago
IAccessControlDefaultAdminRules.sol Bump minimum pragma version to `0.8.19` (#4288) 2 years ago
IAccessControlEnumerable.sol Bump minimum pragma version to `0.8.19` (#4288) 2 years ago
Ownable.sol Bump minimum pragma version to `0.8.19` (#4288) 2 years ago
Ownable2Step.sol Bump minimum pragma version to `0.8.19` (#4288) 2 years ago
README.adoc Remove code in preparation for v5.0 (#4258) 2 years 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.

== Authorization

{{Ownable}}

{{Ownable2Step}}

{{IAccessControl}}

{{AccessControl}}

{{IAccessControlEnumerable}}

{{AccessControlEnumerable}}

{{AccessControlDefaultAdminRules}}