AppAdministratorOrOwnerOnly.sol
AppAdministratorOrOwnerOnly
Inherits: Ownable, RBACModifiersCommonImports
Author: @ShaneDuncan602, @oscarsernarosero, @TJ-Everett
This contract performs permission controls where admin or owner permissions are required.
Allows for proper permissioning parent/child contract relationships so that owner and app admins may have permission.
Functions
appAdministratorOrOwnerOnly
Modifier ensures function caller is a Application Administrators or the parent contract
_appAdministratorOrOwnerOnly
transferPermissionOwnership
Transfers ownership of the contract to a new account (newOwner
).
Parameters
Name | Type | Description |
---|---|---|
newOwner | address | The address to receive ownership |
appManagerAddress | address | address of the app manager for permission check Can only be called by the current owner. |