hook used in extension civserv class.tx_civserv_commit.php:
function recheckModifyAccessList($table, $cmdmap, $pObj, &$res){
if (isset($cmdmap) && isset($cmdmap['tx_civserv_model_service_temp'])){
foreach($cmdmap['tx_civserv_model_service_temp'] as $id => $incomingCmdArray) {
if (is_array($incomingCmdArray)) {
reset($incomingCmdArray);
$command = key($incomingCmdArray);
if (!$pObj->admin && $command = 'delete') $res = 0;
}
}
}
}
...the crucial bit is setting the result to zero, which triggers the "you do not have the right" warning for the editor and prevents the command from being enacted.