Extension:CategoryLockdown

CategoryLockdown is an extension that allows admins to restrict permissions by category and group.

Usage
To restrict the 'read' permission of the Category:Maintenance and pages within it to the 'sysop' group only (admins), add the following to your LocalSettings.php:

Similarly if you now want to restrict the 'edit' permission of the Category:Sales to the 'vendor' group, you can do:

You can also restrict permissions to several groups at once, like so:

Note that pages in subcategories are not affected. If Category:Clients is a subcategory of Category:Sales, then pages within it won't be protected by the above setting. You'd need to add:

Finally, note that:


 * You can use this syntax to restrict any permission (not just 'read' and 'edit')
 * Rules don't apply to admins
 * This extension only removes permissions, it doesn't grant them. If the general config of your wiki forbids editing to all users, then adding a rule that restricts editing to a certain group won't work. Instead, allow editing to all users and then restrict editing to the desired group using this extension.