function canUpdateItem() { // Check the current entity return Session::haveAccessToEntity($this->getField('id')); }