Hi, I've modified my LocalSettings.php file to limit who can see, edit, move, etc. content. Below is a short outline of what I've done:
1) * -- View only access to individuals not signed in/not given an account; they are restricted to viewing only XX number of pages using $wgWhitelistRead 2) User -- ability to edit pages, upload images but cannot make new pages, move pages, etc. 3) SysOp/Bureaucrat -- granted all rights
I want to create one more access group: UserReadOnly (or something) -- so someone must sign in to be able to read all pages, is not limited to what they see but does not have edit/upload access. Is this possible by adding an additional group in LocalSettings.php e.g.
// Implicit group for all logged-in accounts $wgGroupPermissions['userreadonly' ]['move'] = false; $wgGroupPermissions['userreadonly' ]['read'] = true; $wgGroupPermissions['userreadonly' ]['edit'] = false; $wgGroupPermissions['userreadonly' ]['createpage'] = false; $wgGroupPermissions['userreadonly' ]['createtalk'] = false; $wgGroupPermissions['userreadonly' ]['upload'] = false; $wgGroupPermissions['userreadonly' ]['reupload'] = false; $wgGroupPermissions['userreadonly' ]['reupload-shared'] = false; $wgGroupPermissions['userreadonly' ]['minoredit'] = false;
Would this make it accessible by SysOp/Bureaucrat for assigning once a new user account is set up?
Thanks, Karen
On Wednesday, 2nd August 2006 at 10:33:36 (GMT -0400), khuffman@NGS.ORG wrote:
Would this make it accessible by SysOp/Bureaucrat for assigning once a new user account is set up?
Yes, you can juggle those attributes around to your liking and then assign any user to that new user group thus created. Here's a group I created in my LocalSettings.php, with rights pretty close to those of a sysop. As sysop, I can now assign any user to the new group using sysop's Special:Userrights webpage:
$wgGroupPermissions['zam']['createaccount'] = true; $wgGroupPermissions['zam']['read'] = true; $wgGroupPermissions['zam']['edit'] = true; $wgGroupPermissions['zam']['createpage'] = true; $wgGroupPermissions['zam']['createtalk'] = true; $wgGroupPermissions['zam']['move'] = true; $wgGroupPermissions['zam']['upload'] = true; $wgGroupPermissions['zam']['reupload'] = true; $wgGroupPermissions['zam']['reupload-shared'] = true; $wgGroupPermissions['zam']['minoredit'] = true; $wgGroupPermissions['zam']['patrol'] = true; $wgGroupPermissions['zam']['protect'] = true; $wgGroupPermissions['zam']['rollback'] = true; $wgGroupPermissions['zam']['delete'] = true; $wgGroupPermissions['zam']['deletedhistory'] = true;
mediawiki-l@lists.wikimedia.org