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
Simon Perriard 6af4ed6169
revokeRole spec mismatch (#2872)
3 years ago
..
AccessControl.sol revokeRole spec mismatch (#2872) 3 years ago
AccessControlEnumerable.sol Add an interface folder that lists common interfaces (#2517) 4 years ago
IAccessControl.sol Add an interface folder that lists common interfaces (#2517) 4 years ago
IAccessControlEnumerable.sol Add an interface folder that lists common interfaces (#2517) 4 years ago
Ownable.sol Make some private functions internal to allow the developpement of "withSignature" functions (like permit) (#2568) 3 years ago
README.adoc Add an interface folder that lists common interfaces (#2517) 4 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}}

{{IAccessControl}}

{{AccessControl}}

{{IAccessControlEnumerable}}

{{AccessControlEnumerable}}