id | title |
---|---|
access_AccessHierarchy |
AccessHierarchy |
Source: access/AccessHierarchy.sol
- LogUserApproved
- LogUserRemoved
- approveUser
- fallback
- noEmptyAddress
- onlyOwner
- onlyPlatform
- removeUser
- setUpperAccessLevel
-
LogUserApproved
event
LogUserApproved
(address _user, uint _approvalLevel)
Parameters:
_user
- address_approvalLevel
- uint -
LogUserRemoved
event
LogUserRemoved
(address _user, uint _accessLevel)
Parameters:
_user
- address_accessLevel
- uint
-
noEmptyAddress
modifier
noEmptyAddress
(address _param)
Parameters:
_param
- address -
onlyOwner
modifier
onlyOwner
()
-
onlyPlatform
modifier
onlyPlatform
()
-
approveUser
function
approveUser
(address _newUser, uint _accessLevel) public returns (bool)
Modifiers:onlyPlatform noEmptyAddressParameters:
_newUser
- address_accessLevel
- uintReturns:bool -
fallback
function (address _database) public
Parameters:
_database
- address -
removeUser
function
removeUser
(address _user) public returns (bool)
Modifiers:onlyOwnerParameters:
_user
- addressReturns:bool -
setUpperAccessLevel
function
setUpperAccessLevel
(uint8 _newUpperLimit) public
Modifiers:onlyOwnerParameters:
_newUpperLimit
- uint8