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