oliver-zehentleitner / maity
hub: drop the dead orgs.lock_all_of; orgs.md names account_deletion.lock_first
tsk-3gtdczpmzetx Open
Audit round 3 (tsk-hgnbapyw7hnh), read at 588f911b. Kind: debt (dead code) / docs drift.
What is wrong: hub/src/maity_hub/orgs.py:282-291 (lock_all_of) has no caller in hub/ or web/ since account_deletion.confirm moved to lock_first (hub/src/maity_hub/account_deletion.py:153-175). hub/context/orgs.md:83 still says the deletion locks "every organisation it belongs to (orgs.lock_all_of), then the projects of its namespace"; hub/context/auth.md:910-916 has the right account.
Proposal: delete lock_all_of; point orgs.md at lock_first and auth.md.
Effort / risk: S. Low risk.