Git Source

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

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.