Update Git repository access rights in Gerrit

From TeamForge 8.0, CollabNet’s Git integration supports site-wide roles, default access permissions, and site admin access.

Support for site-wide roles and default access permissions can be controlled by the gerrit.config properties: teamforge.supportSiteWideRoles and teamforge.supportDefaultAccessPermissions (TRUE, by default, for fresh Gerrit installs, and FALSE for upgrades). Older versions of TeamForge only support project roles to configure the access rights. To grant additional rights (for example, read access to all registered users), you have to add access rights manually in Gerrit.
Note: Access rights are normally linked to the TeamForge management sections and controlled from TeamForge. Only to implement custom permissions, you should go directly to the Gerrit.
  1. In your browser, bring up http://<GITSCMSERVERHOSTNAME>/gerrit/.
  2. Log into Gerrit using the TeamForge site administrator username and password you provided while running the Git installer's configuration script.
  3. Select the Projects tab and click Lists.
  4. In the All Projects page, click Access. You will see a list of all default access rights.
  5. To change an access right, click Edit and select a reference.

    If you want to add a new reference, click Add Reference, select a permission from the Add Permission drop-down list and add it.

    Here's an example where the group "AdminPlus" is assigned "Read" access for the reference "refs/heads/*".
  6. Click Save Changes.