Git Source

Inherits: ERC173, RBACModifiersCommonImports, FacetUtils

Author: @ShaneDuncan602, @oscarsernarosero, @TJ-Everett

This contract relies on an ERC173 facet already deployed in the diamond.

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

modifier appAdministratorOrOwnerOnly(address _permissionModuleAppManagerAddress);

_appAdministratorOrOwnerOnly

function _appAdministratorOrOwnerOnly(address _permissionModuleAppManagerAddress) private view;

transferPermissionOwnership

Transfers ownership of the contract to a new account (newOwner).

function transferPermissionOwnership(address newOwner, address appManagerAddress) internal;

Parameters

NameTypeDescription
newOwneraddressThe address to receive ownership
appManagerAddressaddressaddress of the app manager for permission check Can only be called by the current owner.