Thread:Project:Support desk/Custom Group Rights Issue/reply (3)

Hello There,

I made below amendments, please help me to understand the following:


 * Is this correct approach?
 * By default, new user gets the "*" and "user" groups rights. Is it possible to reinvoke them? So that below code work correctly.

With following code, the Editor group would have read and edit rights.

$wgGroupPermissions['Editor'] = $wgGroupPermissions['user'];

$wgRevokePermissions['Editor']['move'] = true; $wgRevokePermissions['Editor']['move-subpages'] = true; $wgRevokePermissions['Editor']['move-rootEditorpages'] = true; $wgRevokePermissions['Editor']['movefile'] = true; $wgRevokePermissions['Editor']['createpage'] = true; $wgRevokePermissions['Editor']['createtalk'] = true; $wgRevokePermissions['Editor']['writeapi'] = true; $wgRevokePermissions['Editor']['upload'] = true; $wgRevokePermissions['Editor']['reupload'] = true; $wgRevokePermissions['Editor']['reupload-shared'] = true; $wgRevokePermissions['Editor']['minoredit'] = true; $wgRevokePermissions['Editor']['purge'] = true; $wgRevokePermissions['Editor']['sendemail'] = true;