$wgGroupPermissions['user']['createpage'] = true;
$wgGroupPermissions['user']['edit'] = false;
$wgGroupPermissions['user']['delete'] = false;
$wgGroupPermissions['bureaucrat']['edit'] = true;
$wgGroupPermissions['bureaucrat']['delete'] = true;
www.mediawiki.org/wiki/Manual:User_rights#Examples