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. A team with General Access is given No Access, Read, or Write on each unit.

UnitDescription
Repo CodeRepository files, commits, and branches
IssuesBug reports, tasks, and milestones
Pull RequestsCode review and collaboration
API DocumentPublishing API documents from the repository
MockserverPublishing mock servers from the repository

Permission Levels and Capabilities

Different permission levels grant users specific capabilities within each unit:

UnitReadWrite
Repo 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

Repository settings are not a unit. Managing settings and access takes administrator access to the repository.

Team Access 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

Organization Repositories

For organization repositories, permissions are managed through teams:

Owner Team

  • Created automatically when an organization is established, with the name Owners
  • 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
  • Only owner team members can create, change, or delete teams and manage their members

Admin Team

  • A team with Administrator Access
  • Members have full access to all organization repositories
  • Members can create organization repositories

General Team

  • A team with General Access
  • Has customizable unit-level permissions
  • Can be scoped to specific repositories or all repositories
  • Cannot create organization repositories
  • 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