Document least-privilege tokens #11

Closed
opened 2026-10-03 14:05:14 +02:00 by Tirsvad · 1 comment
Owner

Determine the minimum Gitea token scope and GitHub fine-grained token permission that the sync needs, and document them.

Phase: MIL-002

Determine the minimum Gitea token scope and GitHub fine-grained token permission that the sync needs, and document them. Phase: MIL-002
Tirsvad added this to the MIL-002: Onboarding and operations guide milestone 2026-10-03 14:05:14 +02:00
Author
Owner

Closing: the minimum permissions are documented in guides/credentials.md with the evidence per API call (Gitea source: read:repository, repository administrator for push_mirrors; GitHub documentation: Administration: Read and write, Metadata: Read automatic), and are approved by S01 standing in for S05 (ADR-0002, PR #66).

Not done: they have not been tested on this instance with a token that holds only these permissions. The optional check list is in the guide; if it is run, record the result here or in a new issue.

Closing: the minimum permissions are documented in `guides/credentials.md` with the evidence per API call (Gitea source: `read:repository`, repository administrator for `push_mirrors`; GitHub documentation: `Administration: Read and write`, `Metadata: Read` automatic), and are approved by S01 standing in for S05 (ADR-0002, PR #66). Not done: they have not been tested on this instance with a token that holds only these permissions. The optional check list is in the guide; if it is run, record the result here or in a new issue.
Sign in to join this conversation.