James Moger
2014-09-17 5785497bca7d8c18b76d9d18333a1ece0372a8e6
src/main/java/com/gitblit/models/UserModel.java
@@ -552,15 +552,15 @@
      }
      return false;
   }
   /**
    * Returns true if the user is allowed to administer the specified repository
    *
    *
    * @param repo
    * @return true if the user can administer the repository
    */
   public boolean canAdmin(RepositoryModel repo) {
      return canAdmin() || isMyPersonalRepository(repo.name);
      return canAdmin() || repo.isOwner(username) || isMyPersonalRepository(repo.name);
   }
   public boolean isAuthenticated() {