James Moger
2014-03-27 ab07d0d86d8b64b4f7c88b45bc81f1eec22105db
src/main/java/com/gitblit/servlet/GitFilter.java
@@ -191,15 +191,8 @@
         return false;
      }
      if (action.equals(gitReceivePack)) {
         // Push request
         if (user.canPush(repository)) {
            return true;
         } else {
            // user is unauthorized to push to this repository
            logger.warn(MessageFormat.format("user {0} is not authorized to push to {1}",
                  user.username, repository));
            return false;
         }
         // push permissions are enforced in the receive pack
         return true;
      } else if (action.equals(gitUploadPack)) {
         // Clone request
         if (user.canClone(repository)) {