Mods should not be able to register users

This commit is contained in:
Travis Burtrum 2014-02-09 18:06:19 -05:00
parent 02b28e24c7
commit d308e4b641

View File

@ -332,9 +332,13 @@ function AdminMain()
'file' => 'ManageRegistration.php',
'function' => 'RegCenter',
'icon' => 'regcenter.gif',
'permission' => array('admin_forum', 'moderate_forum'),
// xxx mods shouldn't be able to register users
//orig: 'permission' => array('admin_forum', 'moderate_forum'),
'permission' => array('admin_forum'),
'subsections' => array(
'register' => array($txt['admin_browse_register_new'], 'moderate_forum'),
// xxx mods shouldn't be able to register users
//orig: 'register' => array($txt['admin_browse_register_new'], 'moderate_forum'),
'register' => array($txt['admin_browse_register_new'], 'admin_forum'),
'agreement' => array($txt['registration_agreement'], 'admin_forum'),
'reservednames' => array($txt['admin_reserved_set'], 'admin_forum'),
'settings' => array($txt['settings'], 'admin_forum'),