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); } }