major-domo-v2/commands/transactions
Cal Corum 9aba3074c6 Add multi-GM trade access via dual-key indexing
Previously, only the trade initiator could access the trade builder
because lookups used their Discord user ID. Now any GM whose team
participates in a trade can add players, view, and manage the trade.

Changes:
- Add _team_to_trade_key secondary index mapping team IDs to trade keys
- Add get_trade_builder_by_team() for team-based lookups
- Add clear_trade_builder_by_team() for team-based clearing
- Update add_team/remove_team to maintain secondary index
- Refactor 5 trade commands to use team-based lookups
- Add 9 new tests for multi-GM access functionality

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 10:36:48 -06:00
..
__init__.py CLAUDE: Add /ilmove command for real-time roster moves with organizational affiliate support 2025-10-20 20:15:12 -05:00
CLAUDE.md Follow-up updates for bug fix 2025-10-27 14:28:33 -05:00
DESIGN.md Transactions cog in place 2025-09-24 09:32:04 -05:00
dropadd.py Consolidate season config variables to single source (v2.21.0) 2025-12-02 16:12:16 -06:00
ilmove.py Consolidate season config variables to single source (v2.21.0) 2025-12-02 16:12:16 -06:00
management.py Consolidate season config variables to single source (v2.21.0) 2025-12-02 16:12:16 -06:00
trade_channel_tracker.py CLAUDE: Reorganize data storage and enhance team/roster displays 2025-10-15 19:05:51 -05:00
trade_channels.py CLAUDE: Fix trade system bugs and add smart channel updates 2025-10-09 20:55:19 -05:00
trade.py Add multi-GM trade access via dual-key indexing 2025-12-04 10:36:48 -06:00