Git gerrit没有';不行。我仍然可以绕过审稿人

Git gerrit没有';不行。我仍然可以绕过审稿人,git,apache,git-push,gerrit,Git,Apache,Git Push,Gerrit,当我使用git push origin HEAD:refs/for/branch\u name时,它工作正常。但我使用的是git-push-originhead:branch\u-name,它可以绕过审阅者,直接将代码推入服务器。真奇怪!应显示:禁止使用。还有谁能帮我吗 我的Apache2 httpd.conf如下所示 <VirtualHost *> ServerName localhost ProxyRequests Off ProxyVia Off

当我使用git push origin HEAD:refs/for/branch\u name时,它工作正常。但我使用的是
git-push-originhead:branch\u-name
,它可以绕过审阅者,直接将代码推入服务器。真奇怪!应显示:禁止使用。还有谁能帮我吗

我的Apache2 httpd.conf如下所示

<VirtualHost *>  
  ServerName localhost 
  ProxyRequests Off  
  ProxyVia Off  
  ProxyPreserveHost On  

  <Proxy *>  
        Order deny,allow  
        Allow from all  
  </Proxy>  

  <Location /login/>  
     AuthType Basic  
     AuthName "Gerrit Code Review"  
     AuthBasicProvider file  
     AuthUserFile /home/kk/gerrit/server/etc/passwords  
     Require valid-user  
  </Location>  

  ProxyPass / http://10.10.68.224:9091/
  ProxyPassReverse / http://10.10.68.224:9091/
</VirtualHost>  

服务器名本地主机
代理请求关闭
ProxyVia关闭
代理主机
命令拒绝,允许
通融
AuthType Basic
AuthName“Gerrit代码审查”
AuthBasicProvider文件
AuthUserFile/home/kk/gerrit/server/etc/passwords
需要有效用户
ProxyPass/http://10.10.68.224:9091/
ProxyPassReverse/http://10.10.68.224:9091/
描述了项目业主如何通过审查流程。要限制此权限,请参阅中的推送类别。

描述了项目所有者如何通过审查过程。要限制此权限,请参阅中的推送类别