Permissions
Contract is connected module for Upgradeable approach, knows ContractManager
onlyOwner onlyOwner()
modifier
Modifier to make a function callable only when caller is the Owner.
Requirements:
-
The caller must be the owner.
onlyAdmin onlyAdmin()
modifier
Modifier to make a function callable only when caller is an Admin.
Requirements:
-
The caller must be an admin.
allow allow(string contractName)
modifier
Modifier to make a function callable only when caller is the Owner
or contractName
contract.
Requirements:
-
The caller must be the owner or
contractName
.
allowTwo allowTwo(string contractName1, string contractName2)
modifier
Modifier to make a function callable only when caller is the Owner
or contractName1
or contractName2
contract.
Requirements:
-
The caller must be the owner,
contractName1
, orcontractName2
.
allowThree allowThree(string contractName1, string contractName2, string contractName3)
modifier
Modifier to make a function callable only when caller is the Owner
or contractName1
, contractName2
, or contractName3
contract.
Requirements:
-
The caller must be the owner,
contractName1
,contractName2
, orcontractName3
.