apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/SystemRoleManagerService.java/SystemRoleManagerService/hasManageAppMasterPermission
class SystemRoleManagerService:  public boolean hasManageAppMasterPermission(String userId, String appId) {
    if (!isManageAppMasterPermissionEnabled()) {
      return true;
    }

    return rolePermissionService.userHasPermission(userId, PermissionType.MANAGE_APP_MASTER, appId);
  }