195 - Dappsys DSAuth
Dappsys DSAuth: Provides a flexible and updatable auth pattern which is completely separate from application logic.
By default, the auth modifier will restrict function-call access to the including contract owner and the including contract itself.
The auth modifier provided by DSAuth triggers the internal isAuthorized
function to require that the msg.sender
is authorized ie. the sender is either:
- The contract owner
- The contract itself or
- Has been granted permission via a specified authority.
- Authorization
- auth Modifier
- isAuthorized()
- msg.sender -> Owner
- msg.sender -> Contract
- msg.sender -> authority
- Youtube Reference