ezsystems/ezfind — comment on commit 63337b1ae4c951de3f805e628effaf38516cce27
File: search/plugins/ezsolr/ezsolr.php line 110
By crevillo:

hi. isn't this a bit crude? i mean, log the anonymous user to check if he can read the content?
wouldn't it be better use some kinda function that can tell if the user [user_id] has access to that object without the need of login?
having an user (probably admin) publishing content, i found this logout-him, login-him-again thing a bit strange...
what do you think?