Thread:Extension talk:AJAXPoll/How can I block anonymous user see the poll

Hello, I want to add the extension in my mediawiki 1.21.2 and all worked well at the beginning, I can create a new poll, create options, check an option, and recheck. But when I try to block the anonymous's right(can't see the result), I missed.

I have added this in my file "LocalSettings.php", so the anonymous couldn't vote(cool),but I don't understand why anonymous could continue consult the result of the poll. require_once("$IP/extensions/AJAXPoll/AJAXPoll.php"); $wgGroupPermissions['*']['ajaxpoll-vote']=false;(everybody can't vote)
 * 1) default: anons cannot vote and will never see results

$wgGroupPermissions['*']['ajaxpoll-view-results']=false; (everybody can't see the results)

$wgGroupPermissions['user']['ajaxpoll-vote'] = true; (registered user can vote)
 * 1) default: users can vote and can see poll results - when they have voted

$wgGroupPermissions['user']['ajaxpoll-view-results'] = true; (registered user can see the results)

Is anybody can help me? Every suggest is welcome! Thank advanced!