Forgejo: set per-user repository, upload and mirror limits #495
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra#495
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Problem
ansible/roles/forgejo/templates/app.ini.j2sets no per-user repository or upload caps. There is no[repository] MAX_CREATION_LIMIT, no[repository.upload] FILE_MAX_SIZE, and no mirror limits. With open registration, one account can create unlimited repositories and mirrors. The shared quota bounds stored bytes but not repository count or mirror churn.Carried over from #125 (finding M3) when that issue closed.
Done when
MAX_CREATION_LIMIT,FILE_MAX_SIZEand mirror limits are set to values that fit the paid and trial tiers, and are documented in the runbook.Applied 2026-10-02 (#515). Second
--checkchanged=0. Live:/api/v1/settings/attachmentreturnsmax_size: 100, max_files: 5. Still open for the "done when" item: a test account hitting the repo, upload and mirror limits.