$this->getUser()->id]; } protected function accessOnlyOwn(&$result) { $result['whereClause'][] = [ 'userId' => $this->getUser()->id ]; } }