function canUpdateItem() { return $this->fields['users_id'] == Session::getLoginUserID() || Session::haveRight(self::$rightname, UPDATE) && $this->haveVisibilityAccess(); }