Skip to content

Add user/channel allowlist for access control #1

@alexknowshtml

Description

@alexknowshtml

Summary

Add environment-based allowlists to control who can trigger the bot and in which channels.

Implementation

  • ALLOWED_USERS - Comma-separated Discord user IDs
  • ALLOWED_ROLES - Comma-separated Discord role IDs
  • ALLOWED_CHANNELS - Comma-separated channel IDs

Check these before queueing any job in bot.ts. If lists are empty, allow all (current behavior).

Priority

This is the highest-priority safety feature - prevents random server members from spawning Claude sessions.

Labels

enhancement, security

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions