James Moger
2012-11-01 3dec957f01b1e6b0af31476361efbb5767d0303d
src/com/gitblit/models/UserModel.java
@@ -154,10 +154,6 @@
            pType = PermissionType.REGEX;
            source = registrant;
         }
         if (AccessPermission.MISSING.equals(entry.getValue())) {
            // repository can not be found, permission is not editable
            editable = false;
         }
         list.add(new RegistrantAccessPermission(registrant, entry.getValue(), pType, RegistrantType.REPOSITORY, source, editable));
      }
      Collections.sort(list);
@@ -252,7 +248,7 @@
      ap.registrant = username;
      ap.registrantType = RegistrantType.USER;
      ap.permission = AccessPermission.NONE;
      ap.isEditable = false;
      ap.mutable = false;
      // administrator
      if (canAdmin()) {
@@ -291,7 +287,7 @@
         if (p != null) {
            ap.permissionType = PermissionType.EXPLICIT;
            ap.permission = p;
            ap.isEditable = true;
            ap.mutable = true;
            return ap;
         }
      } else {