I will update this due to 1.6 being slightly different for one file
below is how the mod code looks with the old code commented out.
ow_system_plugins/base/controllers/user.php
inside of function deleteUser around line 378 about 3/4 down the page
//changed only to allow admin to delete users
//old code
// if ( $user === null || !OW::getUser()->isAuthorized('base') )
if ( $user === null || !OW::getUser()->isAdmin() )
{
//added message
exit(json_encode(array(
'message' => 'Sorry but only Admin can delete users - no permission',
'result' => 'error'
)));
}
if you only want admin to edit profiles
ow_system_plugins/base/components/user_view_widget.php
inside of function __construct on about line 40
//orig code
// $adminMode = OW::getUser()->isAdmin() || OW::getUser()->isAuthorized('base');
// mod to only allow admin to edit profiles
$adminMode = OW::getUser()->isAdmin();
good luck :)