Kindly excuse me if this is not the right forum to post to this post. Kindly also tell me where exactly post this queston to..
I have the following settings.
For disabling anonymous users, in LocalSettings.php I used,
$wgWhitelistRead = array ( “Main Page”, “Special:Userlogin”, “-” );
$wgGroupPermissions[‘*’][‘read’] = false;
$wgGroupPermissions[‘*’][‘edit’] = false;
I understand that the above code is necessary to anonymous users not being able to read or edit pages, as well as only being able to see the ‘Main Page’ and the ‘UserLogin’ page.
Now to limit the rights of a user group, in LocalSettings.php I used,
$wgGroupPermissions[‘limiteduser’][‘move’] = false;
$wgGroupPermissions[‘limiteduser’][‘read’] = true;
$wgGroupPermissions[‘limiteduser’][‘edit’] = false;
$wgGroupPermissions[‘limiteduser’][‘createpage’] = false;
$wgGroupPermissions[‘limiteduser’][‘createtalk’] = false;
$wgGroupPermissions[‘limiteduser’][‘upload’] = false;
$wgGroupPermissions[‘limiteduser’][‘reupload’] = false;
$wgGroupPermissions[‘limiteduser’][‘reupload-shared’] = false;
$wgGroupPermissions[‘limiteduser’][‘minoredit’] = false;
But it doesnt work. An member of limiteduser group is still able to edit pages, even though the only thing the user should be able to do is read. My intention is that anonymous users can only read Main page and login page (this part works), after that I wanted authenticated users who are part of limited user group to be able to read the rest of the pages, but not to do anything else.
Also, how do I tie this in with namespaces?
What am I missing here?
Kindly advice.
Thanks.
I have the following settings.
For disabling anonymous users, in LocalSettings.php I used,
$wgWhitelistRead = array ( “Main Page”, “Special:Userlogin”, “-” );
$wgGroupPermissions[‘*’][‘read’] = false;
$wgGroupPermissions[‘*’][‘edit’] = false;
I understand that the above code is necessary to anonymous users not being able to read or edit pages, as well as only being able to see the ‘Main Page’ and the ‘UserLogin’ page.
Now to limit the rights of a user group, in LocalSettings.php I used,
$wgGroupPermissions[‘limiteduser’][‘move’] = false;
$wgGroupPermissions[‘limiteduser’][‘read’] = true;
$wgGroupPermissions[‘limiteduser’][‘edit’] = false;
$wgGroupPermissions[‘limiteduser’][‘createpage’] = false;
$wgGroupPermissions[‘limiteduser’][‘createtalk’] = false;
$wgGroupPermissions[‘limiteduser’][‘upload’] = false;
$wgGroupPermissions[‘limiteduser’][‘reupload’] = false;
$wgGroupPermissions[‘limiteduser’][‘reupload-shared’] = false;
$wgGroupPermissions[‘limiteduser’][‘minoredit’] = false;
But it doesnt work. An member of limiteduser group is still able to edit pages, even though the only thing the user should be able to do is read. My intention is that anonymous users can only read Main page and login page (this part works), after that I wanted authenticated users who are part of limited user group to be able to read the rest of the pages, but not to do anything else.
Also, how do I tie this in with namespaces?
What am I missing here?
Kindly advice.
Thanks.