diff options
| author | Ben Sima <ben@bensima.com> | 2025-12-12 16:48:11 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-12-12 16:48:11 -0500 |
| commit | 48da83badba197cf54f655f787f321b61c71bc47 (patch) | |
| tree | e279d7bc30f9ea99c7197a76c9e8635a800cddd6 /Omni/Ide/hooks/post-merge | |
| parent | b96cad2c4698dd12bb138c1cabf5741fe513cd6e (diff) | |
Telegram bot: user whitelist access control
- Add tgAllowedUserIds field to TelegramConfig
- Load ALLOWED_TELEGRAM_USER_IDS from environment (comma-separated)
- Check isUserAllowed before processing messages
- Reject unauthorized users with friendly message
- Empty whitelist or '*' allows all users
- Add tests for whitelist behavior
Diffstat (limited to 'Omni/Ide/hooks/post-merge')
0 files changed, 0 insertions, 0 deletions
