[Mediawiki-l] Lockdown.php question

Graham tolliver at dal.ca
Wed Nov 24 14:46:59 UTC 2010


  On 24/11/2010 10:35 AM, Graham wrote:
>    On 24/11/2010 9:21 AM, Robin Krahl wrote:
>> Hi Graham,
>>
>> On 24.11.2010 14:16, Graham wrote:
>>> - $wgSpecialPageLockdown['Export'] = array('bureaucrat');
>>>
>>> It didn't prevent users in the bureaucrat group from accessing the
>>> Export page. Any ideas of what could be the cause, would be appreciated.
>> actually, it made ‘bureaucrat’ the only user group that should be able
>> to access this special page. Instead of preventing access by this group,
>> you limited it to it.
>>
>> Regards,
>>       Robin
>>
> Hello Robin,
>
> I read where the Lockdown extension can only Restrict access, and not
> Grant access:
> http://www.mediawiki.org/wiki/Extension:Lockdown
>
> This is what I also read:
> $wgSpecialPageLockdown allows you to specify for each special page which
> user groups have access to it. For example, to limit the use of
> Special:Export to logged in users, use this in LocalSettings.php:
>
> $wgSpecialPageLockdown['Export']  =  array('user');
>
>
> Thanks for your assistance.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l at lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
Sorry I incorrectly read that, but I tried accessing the page without 
bureaucrat rights, and was still able to access the page.



More information about the MediaWiki-l mailing list