diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-17 10:58:01 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-17 10:58:01 +0000 |
| commit | efbbcc49ae8e8f598a24c939b35ad9cda0541663 (patch) | |
| tree | 788fd397862a61ef9d56aea46666bc36c583b504 /docs/reference/configuration.md | |
| parent | e922e14e3ec4b898c111b2100cd63dddbe2fcdb1 (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/configuration.md')
0 files changed, 0 insertions, 0 deletions