getUser()->isAdmin()) { $result['whereClause'][] = [ 'createdById' => $this->getUser()->id ]; } } }