Configuring GitCentric ACLs for Direct Push

Note: This section is for system administrators only.

If you do not wish to use GitCentric’s optional Gerrit Code Review functionality, you must modify the default ACLs as follows. (These are simply minimal suggestions. You must analyze your site requirements and customize these settings as appropriate for your specific site.)

  1. Change the setting for the Push permission for refs/for/refs/* to BLOCK.
  2. Add the Push permission for refs/* and set it to ALLOW.
  3. Add the Push Merge Commits permission to refs/* and set it to ALLOW.

You must also have your users adjust the Git config file in each of their clones to remove the following line:

push = refs/heads/*:refs/for/*