I would not modify the drupal source, unless there is a commit in drupal core for that patch. It might work or not, but to be sure, first apply for a patch in Drupal core at drupal.org, and see the reaction of core maintainers. If this patch is reasonable, then there will be a commit in next release of Drupal.
I guess just to have the admin role in Drupal won't be enough for updates. What if the user has admin rights (for the Drupal core), but do not have any rights to other Drupal modules installed. In those use cases the update could fail. User #1 do not have this problem, it's by design. Doka 2009/6/24 J.M.Roth <jmr...@iip.lu> > Hmmm... I don't know but maybe there is a reason that they want user #1 > logged in. Maybe the "1" is of importance. Just a thought. > > But you're right, in theory user #1 could have been given only > authenticated user right whereas someone else has become the admin. > > Maybe one should ask this question upstream. > > > >