/**
  * @param ilDataCollectionRecord $record
  *
  * @return bool
  */
 protected function checkEditByOwner(ilDataCollectionRecord $record)
 {
     global $ilUser;
     if ($this->getEditByOwner() and $ilUser->getId() != $record->getOwner()) {
         return false;
     }
     return true;
 }
 /**
  * @param ilDataCollectionRecord $record
  *
  * @return bool
  */
 protected function checkEditByOwner(ilDataCollectionRecord $record)
 {
     global $ilUser;
     return $ilUser->getId() == $record->getOwner();
 }