gerrit


Is it possible to configurate gerrit to always send the push requests to refs/for?


my team is implementing gerrit on their git repositories.
We liked the way it works.
As far as I understand (please, correct me if I am wrong) once gerrit is implemented it is kind of optional. If you use refs/for at the time you push, your push is sent to gerrit for review. But if you do not use refs/for it automatically pushes the code.
My question:
Is there a way to not give the user the opportunity to push directly? I want every push to be sent to revision because sometimes the user can get to forget to add refs/for to his/her push request.
It's optional but a person need to have a "special" permission to be able to push straight to the branch (bypassing Gerrit review). Have this permission is not the default for the most people in the most of Gerrit servers. Normally only Configuration Managers or Administrators have this permission:
Reference refs/heads/* Push
If someone who doesn't have this permission pushes straight to the branch the push will fail with "Prohibited by Gerrit" error (See here for more details).

Related Links

How to get previous patch in gerrit
Integrate Gitolite with Gerrit ACL.
How to display reset password link on gerrit portal?
How to hide line numbers on Gerrit
Gerrit:change authenticate mode from http to ldap
Unhide a hidden Gerrit project
Find a pattern in the pending changes
How to setup access rights inheritance in gerrit
Create new user using Gerrit UI
Review screen not opening with new screen
Ignore empty lines in Diff View Change Screen
Gerrit change-id to git commit-id
How to setup Gerrit without any authentication?
How to start Gerrit in Windows 7 after Initialization
How do I merge Gerrit instances without losing history
Buildbot nightly build is failing to checkout the branch

Categories

HOME
webpack
proxy
hp-exstream
amortized-analysis
v8
swagger-ui
reveal.js
qt-creator
postgres-xl
fortumo
worldwind
dosgi
seaborn
solaris-10
google-pagespeed
physics-engine
sylius
dxf
wpfdatagrid
r-raster
http-get
form-data
sequential
vxworks
libraries
vapor
awt
mapzen
fakeiteasy
slick-3.0
apple-news
avconv
user-accounts
xml-documentation
strptime
revapi
multipeer-connectivity
hendrix
elgg
nsarray
namecoin
pdfclown
linode
spring-mongodb
dynamics-sl
pintos
angular-strap
medium.com
color-picker
log4c
pcf
multiple-regression
pagedlist
dataview
tform
hsv
deis
ami
clipperlib
facebook-graph-api-v2.4
fscommand
network-interface
cctv
navigationservice
concurrent-collections
algebraic-data-types
floating-point-precision
dexterity
soundtouch
ftps
excel-2003
eclipse-memory-analyzer
django-nonrel
bigcouch
rfc1123
mozilla-prism
thunderbird-lightning
nintendo-ds
brewmp
microsoft-virtualization
temporal-database

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App