Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 844 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 844 Bytes

#Ethereum Access Control for multi-dapps platform

Many multi-dapps platforms are using a 'on contract' access control model, or some strategies for multi-access inside the contract itself.

The problem occurs when you need to change access inside dapps one by one.

This model creates an access manager, with 3 levels (p. ex. Administrator, Manager and User) for using with dapps. Thus you can easily mantain and manage the access control for your dapps, since for people accessing functions to contracts that access another contracts to execute functions.

Files:

  • OriginalMyAccessControl.sol:
    • Levels: SuperUser, Manager and User
    • Just add the addresses from users or contracts for any level
  • testAccess.sol:
    • An example for testing access levels. If you own any of the addresses registered, you can test the access level.