On 24/11/2010 10:50 AM, Robin Krahl wrote:
Hi Graham,
On 24.11.2010 15:35, Graham wrote:
$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');
Yes; this
piece of code restricts access to logged in users -- they are
in the group 'user'. If you e. g. would like to restrict the access to
administrators (so only they are able to export pages), you would have
to replace 'user' by 'sysop'.
Regards,
Robin
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l Hello Robin,
I tried two accounts, one in the administrator group, and one not; both
weren't able to access the Export page:
$wgSpecialPageLockdown['Export'] = array('administrator');
If I use this string, there's no effect; anyone can access it:
$wgSpecialPageLockdown['ListFiles'] = array('administrator');
Any ideas of what the problem could be? I am using Mediawiki 1.16.0. It appears to be
straight forward in terms of setting it up. Perhaps, I should download Lockdown from a
different site. Is there any know issues with Lockdown?
Thanks,
Graham