upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/reference/git-protocol.md
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-02-17 10:58:01 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-02-17 10:58:01 +0000
commitefbbcc49ae8e8f598a24c939b35ad9cda0541663 (patch)
tree788fd397862a61ef9d56aea46666bc36c583b504 /docs/reference/git-protocol.md
parente922e14e3ec4b898c111b2100cd63dddbe2fcdb1 (diff)
fix: include purgatory announcements in state event authorization
When processing state events from purgatory, we need to check authorization against announcements that may still be in purgatory (not yet promoted to the database). Previously, process_purgatory_state_events() used fetch_repository_data() which only queries the database. This caused authorization failures when: 1. Git data arrives 2. Announcement is promoted from purgatory to database 3. State events are processed from purgatory 4. But db_repo_data was fetched BEFORE the announcement promotion Now uses fetch_repository_data_with_purgatory() to include both database and purgatory announcements, ensuring authorization works correctly regardless of promotion timing.
Diffstat (limited to 'docs/reference/git-protocol.md')
0 files changed, 0 insertions, 0 deletions