upleb.uk

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

summaryrefslogtreecommitdiff
path: root/docs/tutorials/README.md
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-11-27 15:23:59 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2025-11-27 15:23:59 +0000
commit09025b8435f673779ce109e2fb72ce48a13bf28e (patch)
tree65f1a988db805b3c58c08cb0cf782f3430aa4df4 /docs/tutorials/README.md
parent233feae6af4b291e4860a1ddf9df2ccf82e57c2f (diff)
fix(auth): accept state announcements from maintainers
Updated get_maintainers_recursive() to properly handle maintainers listed in accepted repository announcements: 1. Separated 'visited' set (cycle prevention) from 'maintainers' set (result) 2. Maintainers listed in an announcement's 'maintainers' tag are now added to the maintainer set immediately, even without their own announcement 3. Recursively traverse maintainer chains to handle multi-level delegation Also fixed RecursiveMaintainerRepoAndState fixture to publish the maintainer's announcement (which lists the recursive maintainer) before publishing the recursive maintainer's announcement, establishing the proper trust chain: Owner -> Maintainer -> RecursiveMaintainer Test results: 7/7 push authorization tests passing
Diffstat (limited to 'docs/tutorials/README.md')
0 files changed, 0 insertions, 0 deletions