James Moger
2012-11-28 0bbdd9f9adf12ad9082a4c49ae1c9a0778b00bb4
src/com/gitblit/DownloadZipFilter.java
@@ -57,6 +57,16 @@
   }
   /**
    * Determine if a non-existing repository can be created using this filter.
    *
    * @return true if the filter allows repository creation
    */
   @Override
   protected boolean isCreationAllowed() {
      return false;
   }
   /**
    * Determine if the action may be executed on the repository.
    * 
    * @param repository
@@ -91,7 +101,7 @@
    */
   @Override
   protected boolean canAccess(RepositoryModel repository, UserModel user, String action) {
      return user.canAccessRepository(repository);
      return user.canView(repository);
   }
}