Thread:Project:Support desk/Restrict Namespaces Read/Write Access via LDAP Groups/reply

Well, it seems that nobody has a solution for my problem. So this morning I started looking at the source. I adjusted the code of some permission check methods and added an array, so with my code I am now able to set the following in LocalSettings.php:

$wgGroupPermissions['*']['ITKnowledge-read'] = false; $wgGroupPermissions['FSP-X']['ITKnowledge-read'] = true; $wgGroupPermissions['FSP-W']['ITKnowledge-edit'] = true; $wgGroupPermissions['FSP-B']['ITKnowledge-edit'] = true;

$wgNamespaceReadProtection[NS_ITKnowledge] = array( 'ITKnowledge-read' ); $wgNamespaceEditProtection[NS_ITKnowledge] = array( 'ITKnowledge-edit' );

I will do a little bit of debugging and after hollydays, I will do some documentation on how to implement this feature.