Extension talk:DisallowAccessOnCategory

Unfortunatly the text of the introduction still moves over that Extensions-Box. If anyone knows the cause for this please, fix it for me :-)

Troubleshooting
Does this actually work? require_once ("$IP/extensions/DisallowAccessOnCategory.php");
 * I untarred DisallowAccessOnCategory.php into /mediawiki/extensions
 * added the following LocalSettings.php
 * 1) Activate ACL on Categories

$wgGroupPermissions['EERLSTAFF']['read'] = true; $wgGroupPermissions['EERLSTAFF']['edit'] = true; $wgGroupPermissions['EERLSTAFF']['createpage'] = true; $wgGroupPermissions['EERLSTAFF']['createtalk'] = true; $wgGroupPermissions['EERLSTAFF']['minoredit'] = true; $wgGroupPermissions['EERLSTAFF']['protected'] = true;
 * 1) security based on Category
 * 2) define rights of "EERLSTAFF"
 * 1) allow EERLSTAFF to use the pages of the "Protected" Category


 * added a category to a page

But things aren't working. Any authenticated user can see the page-- not just someone assigned to the EERLSTAFF group.

Using mediawiki 1.9.3

I have never used this extension but in reading the page i believe what they are trying to explain is that you use the "protected" category not the group name. Try this and see if it works:
 * -- Suki 09:29, 12 April 2007 (UTC)

You should add $wgGroupPermissions['*']['your category'] = false;    /* <-- prevents anonymous users from seeing the pages */ $wgGroupPermissions['user']['your category'] = false; /* <-- prevents logged in users from seeing the pages */

I just tried and it functions very well.

--Julian 20:36, 26 April 2007 (UTC)

I also having issues getting this to work. Hopefully someone can help. I am on MW1.8.2. I have added the following to localsettings.php

require_once ("$IP/extensions/DisallowAccessOnCategory.php"); $wgGroupPermissions['architecture']['read'] = true; $wgGroupPermissions['architecture']['edit'] = true; $wgGroupPermissions['architecture']['createpage'] = true; $wgGroupPermissions['architecture']['createtalk'] = true; $wgGroupPermissions['architecture']['minoredit'] = true; $wgGroupPermissions['architecture']['protected'] = true; $wgGroupPermissions['*']['protected'] = false;    /* <-- prevents anonymous users from seeing the pages */ $wgGroupPermissions['user']['protected'] = false; /* <-- prevents logged in users from seeing the pages */ ?>
 * 1) security based on Category
 * 2) define rights of "architecture group"
 * 1) allow rchitecture group to use the pages of the "Protected" Category

Same problem as above - any authenticated user can see the page-- not just someone assigned to the architecture group I created. Any ideas?

Thanks

Sean.mcclowry 13:04, 18 May 2007 (UTC)