At the moment I'm trying to set some custom premissions for the "user:" Namespace, because normal users shouldn't be allowed to edit or create an article but setting up their personal article. Therefore they need the rights "edit" and "createpage", which i disabled for them. I've tried the default ID "2", you find it here: Link and setting up an own namespace, in my case it was "102". But both versions didn't worked, or was something wrong with my code?
$wgGroupPermissions['user'] ['ns102_edit'] = true;
$wgGroupPermissions['user'] ['ns102_create'] = true;
And
$wgGroupPermissions['user'] ['ns2_edit'] = true;
$wgGroupPermissions['user'] ['ns2_create'] = true;