function userCanVisualize()
 {
     if ($this->field_due) {
         $artifact_field_due = new ArtifactField();
         $artifact_field_due->fetchData($GLOBALS['ath']->getID(), $this->field_due);
         if (!$artifact_field_due->userCanRead($GLOBALS['group_id'], $GLOBALS['ath']->getID(), user_getid())) {
             return false;
         }
     }
     if ($this->field_percentage) {
         $artifact_field_percentage = new ArtifactField();
         $artifact_field_percentage->fetchData($GLOBALS['ath']->getID(), $this->field_percentage);
         if (!$artifact_field_percentage->userCanRead($GLOBALS['group_id'], $GLOBALS['ath']->getID(), user_getid())) {
             return false;
         }
     }
     if ($this->field_righttext) {
         $artifact_field_fieldright = new ArtifactField();
         $artifact_field_fieldright->fetchData($GLOBALS['ath']->getID(), $this->field_righttext);
         if (!$artifact_field_fieldright->userCanRead($GLOBALS['group_id'], $GLOBALS['ath']->getID(), user_getid())) {
             return false;
         }
     }
     if ($this->summary) {
         $artifact_field_summary = new ArtifactField();
         $artifact_field_summary->fetchData($GLOBALS['ath']->getID(), $this->summary);
         if (!$artifact_field_summary->userCanRead($GLOBALS['group_id'], $GLOBALS['ath']->getID(), user_getid())) {
             return false;
         }
     }
     if ($this->field_start) {
         $artifact_field_start = new ArtifactField();
         $artifact_field_start->fetchData($GLOBALS['ath']->getID(), $this->field_start);
         if (!$artifact_field_start->userCanRead($GLOBALS['group_id'], $GLOBALS['ath']->getID(), user_getid())) {
             return false;
         }
     }
     if ($this->field_finish) {
         $artifact_field_finish = new ArtifactField();
         $artifact_field_finish->fetchData($GLOBALS['ath']->getID(), $this->field_finish);
         if (!$artifact_field_finish->userCanRead($GLOBALS['group_id'], $GLOBALS['ath']->getID(), user_getid())) {
             return false;
         }
     }
     return true;
 }
 function userCanVisualize()
 {
     $artifact_field_base = new ArtifactField();
     $artifact_field_base->fetchData($GLOBALS['ath']->getID(), $this->field_base);
     if ($this->field_group) {
         $artifact_field_group = new ArtifactField();
         $artifact_field_group->fetchData($GLOBALS['ath']->getID(), $this->field_group);
         if (!$artifact_field_group->userCanRead($GLOBALS['group_id'], $GLOBALS['ath']->getID(), user_getid())) {
             return false;
         }
     }
     if ($artifact_field_base->userCanRead($GLOBALS['group_id'], $GLOBALS['ath']->getID(), user_getid())) {
         return true;
     } else {
         return false;
     }
 }