1iT - IT and Security Solutions
    Cyber Security
    Identity & Access

    GitHub Organization Permissions Management: Roles, Teams, Onboarding and Offboarding

    Restrict private GitHub repository access with roles, Teams, base permissions, and access checks for onboarding, role changes, and offboarding.

    By 1iT7 min read
    Three employee figures connect through a shared team to two private repositories, while a separate repository remains unconnected.

    Excessive GitHub permissions can expose business code and leave access in place after a role change or departure. This guide focuses on roles, Teams, repository permissions, and onboarding and offboarding processes on GitHub.com. Start by mapping repositories, the people responsible for them, and access sources, then compare them with approved business needs.

    To integrate this process with your other business systems, see identity and access management, cybersecurity for businesses, and Co-Managed IT services. The example below is an illustrative scenario involving an Israeli software development company.

    Last updated: November 23, 2026.

    GitHub Organization permissions management: separate three layers

    A Member belongs to the organization, an organization role defines administrative authority, and a repository role determines what someone can do in a particular repository. An employee can therefore be a Member with Write access to the product repository and no access to the infrastructure repository. An Owner has broad organizational control and Admin access to every repository. According to the organization roles documentation, limit ownership while maintaining continuity: GitHub recommends at least two organization owners.

    Role

    Authority and assignment considerations

    Availability and documentation

    Owner

    Administers the organization and has Admin access to all its repositories; assign to an authorized lead and a backup.

    Free, Team, and Enterprise Cloud: https://docs.github.com/en/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization

    Member

    Organization membership; repository access depends on assignments. Suitable for employees who need teams.

    Free, Team, and Enterprise Cloud: https://docs.github.com/en/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization

    Billing manager

    Manages billing and subscriptions; the role itself does not grant code access.

    Free, Team, and Enterprise Cloud: https://docs.github.com/en/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization

    Security manager

    Manages security settings and has read access to all repositories; assign only when this scope is justified.

    A security role assigned to an organization team; see conditions and scope: https://docs.github.com/en/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization

    CI/CD admin

    Manages Actions settings and policies, runners, and organization secrets; assign to the person responsible for builds and deployments.

    A predefined organization role in Enterprise Cloud: https://docs.github.com/en/organizations/managing-peoples-access-to-your-organization-with-roles/permissions-of-predefined-organization-roles

    GitHub App manager

    Manages settings for GitHub Apps owned by the organization; does not itself grant permission to install apps or access code.

    See scope and who can assign the role: https://docs.github.com/en/organizations/managing-peoples-access-to-your-organization-with-roles/adding-github-app-managers-in-your-organization

    Do not assume that a specialized role grants limited access based on its name: Security manager includes read access to all repositories. The predefined organization roles in the dedicated permissions table are documented for Enterprise Cloud; do not assume that the same availability applies to every other role. Availability here has not been verified in real time, so check the linked documentation and your active plan before assigning a role. Choose Member for an employee who needs Teams; consider Outside collaborator for a supplier who needs only specific repositories, and record a removal date.

    Which permission should each repository and employee receive?

    Assign repository roles according to the required action, rather than seniority or job title. According to GitHub’s repository permissions matrix, Write allows pushing code, Maintain adds routine management, and Admin includes access management and sensitive actions. Review deployment approvals and branch rules separately. Read access also allows code to be copied.

    Level

    Example action

    Suitable use

    Read

    Read and pull code

    Review or testing without changes

    Triage

    Categorize, assign, and close Issues and Pull requests

    Task coordination without write access

    Write

    Push code and merge subject to rules

    Developers

    Maintain

    Handle routine administration, including the repository description and merge settings

    A team lead responsible for maintenance

    Admin

    Manage access and sensitive settings

    An authorized repository administrator

    These are the five built-in permission levels in the repository roles documentation. Moderate was removed because it is not among them; do not rely on it as a built-in repository role.

    In an illustrative Israeli company scenario, separate the product, infrastructure, and supplier engagement. A team lead does not automatically need Owner, and a DevOps engineer does not automatically need Admin on every repository. Adapt the table to the actual work. Accounting needs billing authority; a supplier needs only the material required for the approved work.

    Party

    Product repository

    Infrastructure repository

    Reason

    Development team

    Write

    No access

    Change product code

    Team lead

    Maintain

    As approved for the task

    Maintenance without organization-wide administration

    DevOps

    Read

    Write; Admin only for a defined need

    Separate deployment from access management

    Accounting

    No access

    No access

    Billing manager for billing

    External supplier

    Write only in the component repository

    No access

    Outside collaborator for a defined task

    How do Teams and base permissions determine effective access?

    Assign permissions to teams according to their responsibilities, and document individual assignments with a reason and review date. According to the Teams documentation, a child team inherits its parent’s permissions; before assigning Write to a parent team, check which additional teams will gain access as a result. Outside collaborators cannot join a team.

    Base permissions apply to organization members, but not to Outside collaborators. An Owner sets them at Organizations > your organization > Settings > Member privileges > Base permissions. Changes also affect existing members; higher access from another source remains effective. According to the base permissions documentation, a change does not automatically update permissions on private forks. Check the impact on teams before making a broad change.

    Choice

    Impact and decision

    None

    Recommended starting point for private repositories separated by team

    Read

    Appropriate only when every member has a justified need to read every private repository

    Public

    None does not hide a public repository

    Internal

    Enterprise has broader visibility; None does not make it private

    How do you assign, check, and remove access in the interface?

    The person with business responsibility for the repository approves the need and scope; a repository Admin changes access for people and teams, while an Owner handles organization settings and member removal. Follow the steps below for the requested action and maintain a single change record. The official interface guide, including screenshots, shows the relevant screens.

    1
    1. Map existing access — Owner or Admin
    Open the repository ← Settings ← Collaborators & teams ← Manage access. Search for the person or team and check direct permissions, teams, inheritance, and base permissions. Completion record: identity, repositories, access sources, current state, and requested state approved by the person responsible for the repository.
    2
    2. Grant approved access — Admin
    Select Add teams or Add people, find the target, and select Choose a role. Save the assignment. Completion record: approval, selected role, person making the change, date and time, and narrowly scoped evidence of the result.
    3
    3. Change permissions — Admin; Owner as needed
    Change Role on the access screen, or have the appropriately authorized person update team membership. Remove previous assignments that are no longer needed. Completion record: permissions before and after, the permission source changed, the person making the change, and the date and time.
    4
    4. Remove access — Admin; Owner for organization removal
    Select Remove for the relevant assignment, and also check team membership and other access sources. An Owner performs removal from the organization. Completion record: revoked assignments and memberships, the person making the change, and the revocation date and time.
    5
    5. Verify the result — IT and the person responsible for the repository
    Using the relevant user’s identity and an authorized testing procedure, test an action that should succeed and an action that should be blocked. After revoking access to a private repository, explicitly verify that attempts to open or pull it using the removed identity are denied. Completion record: test identity, action, date and time, and actual result; do not close the change before verification.
    1
    6. Address remaining access and retest — Owner, Admin, and IT
    If access is still possible, compare Base permissions, the individual assignment, all teams, and parent teams with the approved state. Check Owner status and organization-wide roles, and use Mixed roles to investigate different access sources. Have the appropriately authorized person correct access, then repeat the denial test. Completion record: remaining access source, correction, and retest result. Revoking active GitHub access does not delete code copies already downloaded to an employee’s computer.

    How do you handle onboarding, offboarding, automation, and licensing?

    An access process is complete only after both human and automated access have been verified. GitHub Apps are integrations with their own permissions; a Personal access token is a credential for actions on behalf of a user. According to the programmatic access documentation, an Owner can review apps and token policies. At your organization > Settings > Personal access tokens > Active tokens, review fine-grained tokens and revoke unnecessary access; this screen does not display classic tokens. Check Deploy keys separately, as they can continue providing access after a person is removed.

    Copy the steps into a working document. To assess the position under Israeli law, check whether the content constitutes personal information about an identified or identifiable person, and whether the collection is a database as defined in the Privacy Protection Law: a collection of personal information processed digitally, subject to the exceptions in that definition. A code repository does not become such a database simply because it contains code; assess the personal information it contains and the database systems it serves. The Privacy Protection Regulations (Data Security), 5777-2017, refer to the Law’s definitions and impose security obligations on databases; do not limit the assessment to whether registration is required.

    Under Regulation 8(a)–(c), permissions must be based on role definitions and limited to what is needed to perform the role, an up-to-date list of roles and permissions must be maintained, and permissions must be revoked immediately when the role ends. When an employee changes roles, immediately revoke permissions for the previous role and define those required for the new role; when an employee leaves, revoke their permissions. These responsibilities and controls can be incorporated into employee onboarding and offboarding.

    1
    1. Onboard an employee — line manager, person responsible for the repository, and IT
    Approve repositories, teams, and permission levels; have the appropriately authorized person assign access, then test a required action and an action outside the approved scope. Completion record: approval, assignments, and acceptance test results.
    2
    2. Update access after a role change — people responsible for the repositories and IT
    Approve the new state, remove access for the previous role, and assign the access required for the new role. Verify that new actions are allowed and that revoked access is actually denied. Completion record: before-and-after matrix, person making the change, date and time, and test results.
    3
    3. Revoke access on departure — Owner and IT
    Set the revocation time and transfer responsibilities. Go to your organization ← People ← select the employee ← Remove from organization; in a SCIM environment, work through the identity provider according to the configuration. Explicitly verify that access to private repositories using the removed identity is denied. Completion record: removal date and time, person performing the removal, test identity, and denial result.
    4
    4. Resolve dependencies and verify continuity — IT and the development lead
    Check Apps, tokens, Deploy keys, and secrets known to the employee; revoke or replace them as needed. Verify that revoked access credentials are rejected and that replacements and required automations work. Completion record: dependencies reviewed, changes, test results, and Audit log events. Leave unverified tasks open.

    Set periodic reviews and a two-factor authentication requirement according to the documentation on requiring 2FA in an organization. An Owner configures it at your organization ← Settings ← Authentication security; prepare users in advance to prevent blocked work. Track changes at your organization ← Settings ← Logs ← Audit log, following the audit log documentation. Choose licensing using the official plan comparison and the documentation for each feature. In particular, Pull request approval and approval for deployment to an environment are different mechanisms.

    Plan or feature

    Planning implications and documentation

    Free for organizations

    Private repositories and teams, with limited features in private repositories. Plan comparison: https://docs.github.com/en/get-started/learning-about-github/githubs-plans

    Team — branch protection

    Private repositories can use protected branches, including required approving reviews before merging a Pull request. This is a merge requirement, not deployment approval: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches

    Required reviewers — deployment approval

    This is an Environment protection rule: a job that references the environment waits for approval from one of the designated reviewers before proceeding. Self-approval can be prevented. On Free and Team, this rule is available for public repositories; use in a private or internal repository requires Enterprise. See availability and conditions: https://docs.github.com/en/actions/managing-workflow-runs-and-deployments/managing-deployments/managing-environments-for-deployment

    Enterprise Cloud — custom roles

    Custom organization and repository roles allow permissions to be tailored beyond the built-in roles. Organization roles: https://docs.github.com/en/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles ; repository roles: https://docs.github.com/en/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/about-custom-repository-roles

    Enterprise Cloud — identity management

    SAML SSO and SCIM depend on the identity model and supported configuration. SAML: https://docs.github.com/en/organizations/managing-saml-single-sign-on-for-your-organization/about-identity-and-access-management-with-saml-single-sign-on ; SCIM: https://docs.github.com/en/organizations/managing-saml-single-sign-on-for-your-organization/about-scim-for-organizations

    Supplier in a private repository

    On paid organization plans, an Outside collaborator with access to a private repository generally counts toward license usage; check the plan’s rules and exceptions: https://docs.github.com/en/billing/managing-the-plan-for-your-github-account/about-per-user-pricing

    Frequently asked questions

    What is the difference between an Owner and a repository Admin?
    An Owner administers the organization and has Admin access to every repository. A repository Admin manages that particular repository without thereby becoming an organization owner. Test backup owners’ sign-in access before reducing ownership.
    When should a supplier be an Outside collaborator?
    Choose Outside collaborator when the supplier needs access to defined repositories without team membership. Joining Teams requires organization membership. Record the responsible person and removal date, and check licensing.
    Why did removing someone from a team not revoke access?
    The user may receive access from base permissions, another team, inheritance, or a direct assignment. Also check Owner status and organization-wide roles. Inspect the sources in Collaborators & teams, correct access, and verify that revoked access is denied.
    Does employee offboarding also revoke apps and tokens?
    Removal does not close every automation access path. Review Apps installations, tokens, and deployment keys, and transfer ownership before disabling essential dependencies. Record revocation and replacement testing. To plan the process, see <a href="/en/employee-onboarding-offboarding">employee onboarding and offboarding</a> and the <a href="/en/blog/business-password-manager-secure-access-sharing">business password manager guide</a>.
    Help mapping and implementing GitHub permissions
    Prepare the organization name, plan, and a description of the need or issue. Send details through your existing support channel, without passwords, verification codes, or authentication QR codes.
    Talk to 1iT

    Identity and access management

    The identity and access management service includes mapping access, defining responsibility for approval and implementation, and support with implementing assignments and controls.

    Identity & Access Management (IAM) for Business | 1iT
    Centralized management of users, MFA, SSO and permissions with IAM: Microsoft Entra ID and JumpCloud, automated onboarding/offboarding, conditional access and periodic access reviews.