Skip to content

[Bug]: Group Policy "allowall" not working #36312

@DaisyJunHan

Description

@DaisyJunHan

Bug type

Regression (worked before, now fails)

Summary

When groupPolicy is set to "allowall" in feishu channel config, the code still checks the groupAllowFrom array. If allowFrom is empty, group messages are silently dropped.

Config:
"feishu": {
"groupPolicy": "allowall",
"allowFrom": []
}

Log shows:
group oc_791c2022... not in groupAllowFrom (groupPolicy=allowall)

Steps to reproduce

1.Configure Feishu channel with "groupPolicy": "allowall" and "allowFrom": [] (empty)
2.Add the bot to a Feishu group chat
3.Send a message in the group @mentioning the bot
4.Observe: Message is received by gateway but filtered out
5.Check logs: group <chat_id> not in groupAllowFrom (groupPolicy=allowall)
Expected behavior: Group messages should be accepted when groupPolicy is "allowall", regardless of allowFrom contents.

Expected behavior

Group messages should be accepted when groupPolicy is "allowall", regardless of allowFrom contents.

Actual behavior

group oc_791c2022... not in groupAllowFrom (groupPolicy=allowall)
Messages are silently dropped.

OpenClaw version

2026.3.2

Operating system

macOS 15.5

Install method

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions