This is a new moodle install, this is the first time I have uploaded users via CSV on this install and have just started with a basic upload (username,firstname,lastname,email) which runs through fine, it is only after the user has changed the initial password and tries to log back in this error appears.
There is an option to continue which takes them to the dashboard but I would rather this error not appear at all.
I have gone through role permissions but cant see anything, all I can find in reference to this is in
user\preferences.php
// Only administrators can access another user's preferences.
if (!$currentuser && !is_siteadmin($USER)) {
throw new moodle_exception('cannotedituserpreferences', 'error');
}