Permissions

From Foundation
Revision as of 07:19, 23 March 2020 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

User Permissions

To combat spam we've set up restricted permissions for page creation, editing etc. To ask questions you'll need to register using a valid email address that you have access to.

After registration visit Preferences and confirm your email address. Once you have done this you'll be able to ask questions at the discussion pages. You'll also be able to create and edit pages, but this activity is throttled to a 5 actions in 15 minutes (for the short term).

The Admin team receive notifications whenever new content is created and will respond as appropriate depending on the post. Spam will be deleted almost immediately, questions answered quickly, though please be mindful of time differences, as we're located in the UK. Testing features are generally "kept an eye on", they're patrolled, but not deleted or modified, though we may provide guidance comments.

//users can join
$wgGroupPermissions['*']['createaccount'] = true;
$wgGroupPermissions['sysop']['createpage'] = true;

//users can't edit until confirm email
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['user']['edit'] = false;
$wgAutopromote['emailconfirmed'] = APCOND_EMAILCONFIRMED;
$wgImplicitGroups[] = 'emailconfirmed';
$wgGroupPermissions['emailconfirmed']['edit'] = true;
$wgGroupPermissions['sysop']['edit'] = true;

//user can create talk
$wgGroupPermissions['user']['createtalk']      = true;
$wgGroupPermissions['user']['upload']          = false;
$wgGroupPermissions['user']['reupload']        = false;
$wgGroupPermissions['user']['reupload-shared'] = false;
$wgGroupPermissions['user']['minoredit']       = false;
$wgGroupPermissions['user']['purge']           = false;

//emailconfirmed limited to 5 actions in 15 minutes 
$wgRateLimits['edit']['emailconfirmed'] = array( 5, 900 );
$wgRateLimits['edit']['sysop'] = array( 100, 600 );

//emailconfirmed is limited until they meet following conditions
$wgAutoConfirmAge = 259200; // account is 3 days old and,
$wgAutoConfirmCount = 10; // they've created/edited 10 pages

//Once conditions above are met email confirmed become autoconfirmed & promoted to trustworthy
$wgGroupPermissions['trustworthy'] = $wgGroupPermissions['autoconfirmed'];

//trustworthy member can create, edit, patrol and protect
$wgGroupPermissions['trustworthy']['protect'] = true;
$wgGroupPermissions['trustworthy']['patrol'] = true;
$wgGroupPermissions['trustworthy']['createpage'] = true;
$wgGroupPermissions['trustworthy']['edit'] = true;

//limits on posting also removed
$wgRateLimits['edit']['trustworthy'] = array( 100, 600 );



TOP

Retrieved from ‘https://foundationextension.com/index.php?title=Permissions&oldid=754