function isAllowedEdit(&$aFile, $isPerformAction = false)
{
if ($this->isAdmin($this->_iProfileId)) {
return true;
}
if ($aFile['medProfId'] == $this->_iProfileId) {
return true;
} else {
if (!isMember($this->_iProfileId)) {
return false;
}
$this->_defineActions();
$aCheck = checkAction($this->_iProfileId, $this->_defineActionName('edit'), $isPerformAction);
return $aCheck[CHECK_ACTION_RESULT] == CHECK_ACTION_RESULT_ALLOWED;
}
}