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.
-
In your browser, bring up
http://<GITSCMSERVERHOSTNAME>/gerrit/.
-
Log into
Gerrit using the TeamForge site administrator username and password you
provided while running the
Git installer's configuration
script.
-
Select the Projects tab and click
Lists.
-
In the All Projects page, click
Access.
You will see a list of all default access rights.
-
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/*".
-
Click Save Changes.