hermes - 💡(How to fix) Fix [Regression] Feishu Approval Cards broken in v0.15

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

In gateway/platforms/feishu.py, the default value for group_policy is "allowlist". Old users upgrading with only FEISHU_ALLOW_ALL_USERS=true will find their approval workflows broken without any warning logs.

Fix Action

Workaround

Add feishu.group_policy: open to config.yaml or FEISHU_GROUP_POLICY=open to .env.

RAW_BUFFERClick to expand / collapse

Describe the bug After upgrading to v0.15, Feishu interactive card callbacks (e.g., Approval Buttons) fail with WARNING: Unauthorized approval click.

The legacy environment variable FEISHU_ALLOW_ALL_USERS=true is silently deprecated. The code now defaults to a strict allowlist policy (group_policy="allowlist") which is empty by default, effectively blocking all users from clicking cards unless FEISHU_GROUP_POLICY=open is explicitly set.

Root Cause

In gateway/platforms/feishu.py, the default value for group_policy is "allowlist". Old users upgrading with only FEISHU_ALLOW_ALL_USERS=true will find their approval workflows broken without any warning logs.

Impact

  • Critical regression for Feishu users using approval cards.
  • Silent failure: Logs show "Unauthorized" but don't explain why or mention the config change.
  • Debugging is difficult.

Suggested Fix

  1. Change the default value in feishu.py (line ~1524) from "allowlist" to "open" for backward compatibility.
  2. OR add a startup warning if FEISHU_ALLOW_ALL_USERS is detected but FEISHU_GROUP_POLICY is missing.

Workaround

Add feishu.group_policy: open to config.yaml or FEISHU_GROUP_POLICY=open to .env.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix [Regression] Feishu Approval Cards broken in v0.15