Francisco Giordano eea376911b Reorder AccessControl event to emit after assignment (#2738) 4 ani în urmă
..
AccessControl.sol eea376911b Reorder AccessControl event to emit after assignment (#2738) 4 ani în urmă
AccessControlEnumerable.sol b0cf6fbb7a Add Prettier for linting and fix Solhint config (#2697) 4 ani în urmă
Ownable.sol 27e09007cc Reorder state changes and event emission for consistency (#2719) 4 ani în urmă
README.adoc df8a0fe8dc Complete documentation of UUPSUpgradeable 4 ani în urmă

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

{{AccessControl}}

{{AccessControlEnumerable}}