Skip to Content
AdministrationPermissions

Permissions in APIGIT

APIGIT features a comprehensive permissions system that allows you to control access levels for different users across your repositories. This document explains how permissions work in both individual and organization repositories.

Understanding Units

In APIGIT, a “Unit” refers to a functional module within a repository. Each unit has its own set of permissions and capabilities.

UnitDescriptionAvailable Permissions
CodeSource code, files, commits, and branchesRead, Write
IssuesBug reports, tasks, and milestonesRead, Write
Pull RequestsCode review and collaborationRead, Write
SettingsRepository configurationAdmin

Permission Levels and Capabilities

Different permission levels grant users specific capabilities within each unit:

UnitReadWriteAdmin
CodeView code trees, files, commits, and branchesPush code and create/delete branches-
IssuesView issues and create new issuesAdd labels, assign users, close issues-
Pull RequestsView and create pull requestsAdd labels, assign reviewers, merge/close-
Settings--Manage repository settings and access

Team Permissions

Repository Types and Ownership

Individual Repositories

For individual repositories:

  • The creator is the sole owner
  • Owners have unlimited rights to modify or delete the repository
  • Owners can grant permissions to other users

Organization Repositories

For organization repositories, permissions are managed through teams:

Owner Team

  • Created automatically when an organization is established
  • The organization creator becomes the first member of the owner team
  • Cannot be deleted and must have at least one member
  • Has full control over all organization repositories

Admin Team

  • Can be created to manage specific repositories
  • Members have full access to assigned repositories
  • Only owner team or admin team members can create new teams

General Team

  • Has customizable unit-level permissions
  • Can be scoped to specific repositories or all repositories
  • Can be configured to allow or restrict repository creation
  • Members can perform operations based on their assigned permissions

Note: Users can belong to multiple teams, with their effective permissions being the combined highest level from all team memberships.

Last updated on