Index: userprotect.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/userprotect/userprotect.module,v
retrieving revision 1.20.2.6
diff -u -F^f -u -F^f -r1.20.2.6 userprotect.module
--- userprotect.module	26 Dec 2007 03:01:54 -0000	1.20.2.6
+++ userprotect.module	16 Feb 2008 16:48:07 -0000
@@ -1043,7 +1043,7 @@ function userprotect_get_user_protection
   // and password determined by the role-based setting in the userprotect
   // section at admin/user/access. This is done for consistency with the
   // way core handles the self-editing of usernames.
-  if ($uid == $user->uid && in_array($protection, array('up_name', 'up_mail', 'up_pass'))) {
+  if ($uid == $user->uid && in_array($protection, array('up_name', 'up_mail', 'up_pass', 'up_edit'))) {
     switch ($protection) {
       case 'up_name':
         return !user_access('change own username');
@@ -1051,6 +1051,9 @@ function userprotect_get_user_protection
         return !user_access('change own e-mail');
       case 'up_pass':
         return !user_access('change own password');
+      // Always let user access their own edit page.
+      case 'up_edit':
+        return FALSE;
     }
   }
 
