These tables shows how objects and relationships are mapped between TeamForge and Gerrit.
TeamForge Object | Gerrit Object |
---|---|
TeamForge project | Project |
SCM repository in TeamForge project (containing project roles with SCM permissions) | Project |
Project Role | Group |
User Group | Group |
User | User |
Site-wide role (TeamForge 8.0 and later) | Group |
TeamForge Relationship | Gerrit Relationship |
---|---|
Git repository is part of a TeamForge project. | Gerrit project corresponding to the Git repository inherits from the Gerrit project corresponding to the TeamForge project (TeamForge-Projects/<TeamForge project id>). |
TeamForge project <child> has a parent TeamForge project <parent>. | Gerrit project <child> inherits from the Gerrit project <parent>. |
TeamForge project top is a top-level project. | Gerrit project <top> inherits from Gerrit project. TeamForge-Projects which in turn inherits from All-Projects. |
User has a TeamForge Project Role. | User is part of the Group which corresponds to the TeamForge Project Role. |
User is part of a User Group that is assigned a Project Role. | User is part of a Group (which corresponds to a TeamForge Project Role). |
User is part of a User Group. | User is part of a Group (which corresponds to a TeamForge User Group. |
Project Role is assigned an SCM permission (such as Admin, Delete and View, View and Commit, View Only, None). | Corresponding group is assigned Gerrit access rights matching the assigned TeamForge SCM permissions. Those access rights are determined by the code review policy of the corresponding TeamForge repository. |
Site-wide role is assigned an SCM permission. (TeamForge 8.0 and later only). |
Corresponding Gerrit groups are assigned Gerrit access rights matching the assigned TeamForge SCM permissions. Those access rights are determined by the code review policy of the TeamForge repository and hence may vary between repositories. |
Guests, All Site Users, All Logged in Users, All Non-Restricted Users or Project Members have SCM permissions associated using TeamForge’s Default Access Permissions (TeamForge 8.0 and later only). | Corresponding Gerrit groups are assigned Gerrit access rights matching the assigned TeamForge SCM permissions. Those access rights are determined by the code review policy of the TeamForge repository and hence may vary between repositories. |
User is a site admin in TeamForge. |
User is part of Gerrit groups. TeamForge: Site Admins. TeamForge: Site-wide Project Admin Access. Private Project - Site-wide Admin Access. Public Project - Site-wide Admin Access. Gated Project - Site-wide Admin Access. Site admins have OWN and READ permissions for all Gerrit projects and the rights granted by the SCM Admin permission (depends on the code review policy of the Git repository in question). |
User is a project admin in TeamForge. |
User is part of Gerrit group. TeamForge: Project Admin for <TF project id>. which has OWN and READ permissions for all Git repositories of the corresponding TeamForge project. |
User is non restricted in TeamForge (TeamForge 8.0 and later only). |
User belongs to Gerrit group. TeamForge: Non-restricted Users. |
User is a member of a TeamForge project (TeamForge 8.0 and later only). |
User belongs to Gerrit group. TeamForge: Direct Project Member of <TF project id>. |
User is member of a user group associated to a TeamForge project role (TeamForge 8.0 and later only). |
User belongs to Gerrit group. TeamForge: Project Member of <TF project id>. |
User has a site-wide role that has SCM permissions or a site-wide project admin permissions (TeamForge 8.0 and later only). |
User is part of Gerrit group. TeamForge : Site-wide Role: <name of TeamForge Site-wide role> and - depending on the prevent inheritance to private projects flag, SCM permissions and project admin permissions - TeamForge : Site-wide Project Admin Access Public Project - Site-wide Admin Access Gated Project - Site-wide Admin Access Private Project - Site-wide Admin Access Public Project - Site-wide Delete Access Gated Project - Site-wide Delete Access Private Project - Site-wide Delete Access Public Project - Site-wide Commit Access Gated Project - Site-wide Commit Access Private Project - Site-wide Commit Access Public Project - Site-wide View Access Gated Project - Site-wide View Access Private Project - Site-wide View Access |
User has a TeamForge account. |
User belongs to the Gerrit group. Registered Users. |
User is not logged into TeamForge yet. |
User belongs to the Gerrit group. Anonymous Users. (as all logged in users do too). |