Hi,
I am really confused about the usage of the 1.10 $wgNamespaceProtection feature.
I like to limit access to a custom namespace to a defined user group.
Here is what I added to the LocalSettings.php:
// Add Custom Namespace $wgExtraNamespaces[110] = "NewNameSpace";
//Add User Group $wgGroupPermissions['NewUserGroup']['move'] = true; $wgGroupPermissions['NewUserGroup' ]['read'] = true; $wgGroupPermissions['NewUserGroup' ]['edit'] = true; $wgGroupPermissions['NewUserGroup' ]['createpage'] = true;
// Limit Access to Namespace by utilising $wgNamespaceProtection
$wgNamespaceProtection[110] = array('NewUserGroup');
Then I assigned NewUserGroup attributes to a test user. Unfortunately it did not work. In fact no user is allowed to edit articles in the namespace.
But by adding
$wgNamespaceProtection[110] = array('sysop');
to the LocalSettings.php the namespace becomes editable for administrators.
Do you have any hint what is wrong with the above mentioned procedure?
Kind regards Albert Cremer