Skip to content

fix(discord): unify dm command auth gating#1398

Merged
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/50e2674df
Mar 15, 2026
Merged

fix(discord): unify dm command auth gating#1398
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/50e2674df

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Cherry-pick of upstream 50e2674df.

Author: steipete

Summary

  • Extract DM command authorization logic into a dedicated dm-command-auth module with comprehensive unit tests
  • Unify the auth gating so all DM-based slash commands share the same allowlist checking logic
  • Add tests covering allowed/denied users, owner override, and missing config scenarios

Depends on #1397

🤖 Generated with Claude Code

@alexey-pelykh alexey-pelykh merged commit e8e1cf2 into main Mar 15, 2026
7 checks passed
@alexey-pelykh alexey-pelykh deleted the cherry-pick/50e2674df branch March 15, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants