James Moger
2015-10-10 a3a18a0ebfeb65777ad5bd065e26fa9c00e8100c
src/main/java/com/gitblit/servlet/DownloadZipFilter.java
@@ -81,7 +81,7 @@
    * @return true if the filter allows repository creation
    */
   @Override
   protected boolean isCreationAllowed() {
   protected boolean isCreationAllowed(String action) {
      return false;
   }
@@ -90,10 +90,11 @@
    *
    * @param repository
    * @param action
    * @param method
    * @return true if the action may be performed
    */
   @Override
   protected boolean isActionAllowed(RepositoryModel repository, String action) {
   protected boolean isActionAllowed(RepositoryModel repository, String action, String method) {
      return true;
   }
@@ -102,10 +103,11 @@
    *
    * @param repository
    * @param action
    * @param method
    * @return true if authentication required
    */
   @Override
   protected boolean requiresAuthentication(RepositoryModel repository, String action) {
   protected boolean requiresAuthentication(RepositoryModel repository, String action, String method) {
      return repository.accessRestriction.atLeast(AccessRestrictionType.VIEW);
   }