Посмотрел function checkResume в class.tx_indexedsearch.php,
так там в лоб сравниваются $GLOBALS['TSFE']->gr_list с gr_list из TAB '
index_grlist':
gr_list='.$GLOBALS['TYPO3_DB']->fullQuoteStr($GLOBALS['TSFE']->gr_list) ...
PHP код:
if (strcmp($row['gr_list'],$GLOBALS['TSFE']->gr_list)) {
// Selecting for the grlist records belonging to the phash-row where the current users gr_list exists. If it is found it is proof that this user has direct access to the phash-rows content although he did not himself initiate the indexing...
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('phash', 'index_grlist', 'phash='.intval($row['phash']).' AND gr_list='.$GLOBALS['TYPO3_DB']->fullQuoteStr($GLOBALS['TSFE']->gr_list, 'index_grlist'));
if ($GLOBALS['TYPO3_DB']->sql_num_rows($res)) {
//t3lib_div::debug('Checking on it ...'.$row['item_title'].'/'.$row['phash'].' - YES ('.$GLOBALS['TSFE']->gr_list.")",1);
return TRUE;
} else {
//t3lib_div::debug('Checking on it ...'.$row['item_title'].'/'.$row['phash']." - NOPE",1);
return FALSE;
}
} else {
//t3lib_div::debug('Resume can be shown, because the document was in fact indexed by this combination of groups!'.$GLOBALS['TSFE']->gr_list.' - '.$row['item_title'].'/'.$row['phash'],1);
return TRUE;
}