You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Regression] Feishu Approval Cards broken in v0.15 #35207
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
Change the default value in feishu.py (line ~1524) from "allowlist" to "open" for backward compatibility.
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.
Duplicate of #35032 (which is itself a duplicate of #20596). Fix PR #34707 is already open addressing the root cause (_handle_approval_card_action using _allow_group_message instead of _is_interactive_operator_authorized).
Activity
alt-glitch commentedon May 30, 2026
Duplicate of #35032 (which is itself a duplicate of #20596). Fix PR #34707 is already open addressing the root cause (
_handle_approval_card_actionusing_allow_group_messageinstead of_is_interactive_operator_authorized).