Hi,
ich hab, bzw. hatte, das gleiche Problem.
Als Lösung hab ich ein wenig im PHP-Code rumgerührt.
In der class.tx_indexedsearch.php hab ich die Funktion checkResume ein wenig modifiziert:
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)) {
geändert in:
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...
if(!$this->conf['search.']['allow_group'])
$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'));
else
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('phash', 'index_grlist', 'phash='.intval($row['phash']).' AND gr_list IN ('.$GLOBALS['TYPO3_DB']->fullQuoteStr($GLOBALS['TSFE']->gr_list, 'index_grlist').','.$GLOBALS['TYPO3_DB']->fullQuoteStr($this->conf['search.']['allow_group'],'index_grlist').')');
if ($GLOBALS['TYPO3_DB']->sql_num_rows($res)) {
Dann über TS:
plugin.tx_indexedsearch.search.allow_group=0,-1
0,-1 ist die Default-Berechtigung in der indexed search. Also für dann, wenn jemand nicht eingelogt ist.
Ob das alles so richtig is, was ich da verzapft hab, kann ich nich genau sagen. 😉
Jetzt bekommen aber alle neuen User wenigstens ein paar Suchergebnisse. 8-)
... Langzeitwirkungen werden noch untersucht...
Ach ja... mit show.forbiddenRecords=1 bekommt man auch alle Ergebnisse. Aber da halt auch die, die durch die Berechtigungen normalerweise nicht zugängig sind.