README.adoc 938 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. = Access Control
  2. [.readme-notice]
  3. NOTE: This document is better viewed at https://docs.openzeppelin.com/contracts/api/access
  4. This directory provides ways to restrict who can access the functions of a contract or when they can do it.
  5. - {AccessControl} provides a general role based access control mechanism. Multiple hierarchical roles can be created and assigned each to multiple accounts.
  6. - {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.
  7. == Core
  8. {{Ownable}}
  9. {{Ownable2Step}}
  10. {{IAccessControl}}
  11. {{AccessControl}}
  12. == Extensions
  13. {{IAccessControlEnumerable}}
  14. {{AccessControlEnumerable}}
  15. {{IAccessControlDefaultAdminRules}}
  16. {{AccessControlDefaultAdminRules}}
  17. == AccessManager
  18. {{IAuthority}}
  19. {{AccessManager}}
  20. {{AccessManaged}}
  21. {{AccessManagerAdapter}}