Skip to content

Signal groupPolicy: allowlist doesn't work with group IDs in groupAllowFrom #4336

@derekross

Description

@derekross

Bug Description

Signal's groupPolicy: "allowlist" with groupAllowFrom doesn't work as expected. Users expect to put group IDs in groupAllowFrom to allow specific groups, but the code actually checks for sender phone numbers/UUIDs in that list.

Current Behavior

When configured like this:

{
  "channels": {
    "signal": {
      "groupPolicy": "allowlist",
      "groupAllowFrom": ["my-family-chat-group-id"]
    }
  }
}

Messages from the group are blocked because groupAllowFrom is checked against the sender's phone number/UUID, not the group ID. The only workaround is setting groupPolicy: "open", which allows ALL groups.

Expected Behavior

There should be a way to allow specific Signal groups by group ID, similar to how Telegram supports channels.telegram.groups.<groupId>.

Root Cause

In src/signal/monitor/event-handler.ts, the groupPolicy: "allowlist" check uses isSignalSenderAllowed(sender, effectiveGroupAllow) which matches against phone numbers/UUIDs, not group IDs.

Signal was missing the groups config mechanism that Telegram and iMessage have via resolveChannelGroupPolicy().

Environment

  • moltbot version: 2026.1.29
  • signal-cli version: 0.13.23

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleMarked as stale due to inactivity

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions