Chapter 25 · operating safely

Private repository access governance

Apply least privilege, manual GitHub invitations, protected branches, scheduled reviews, audit records, and offboarding.

1 min read·Updated 2026-07-26·3 role paths
01

Least privilege

Use the smallest repository role that supports the approved purpose.

  • Read for most adopters and evaluators
  • Triage for issues and pull-request participation
  • Write only for active implementation
  • Maintain only for trusted maintainers
02

Manual GitHub boundary

The OGO owner sends invitations, confirms acceptance, changes roles, and revokes access directly in GitHub. OGO Admin records those actions but stores no GitHub token.

03

Repository controls

Require two-factor authentication, protected branches, pull-request review, required checks, restricted releases, and regular collaborator review.

04

Access review

Confirm identity, organization, approved purpose, GitHub account, role, continuing need, security events, and recognition preference.

Do not automatically transfer approval when a person changes employer, team, contractor status, client, or purpose.

05

Offboarding

Remove GitHub access and private communications, record the action, and follow applicable source-return, deletion, confidentiality, and attribution requirements.

Removing repository access cannot remotely erase a local clone already created by an authorized recipient.