Skip to content

[Regression] Feishu Approval Cards broken in v0.15 #35207

Open

Description

@Xwm1234

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.

Activity

  1. added
    type/bugSomething isn't working
    P2Medium — degraded but workaround exists
    comp/gatewayGateway runner, session dispatch, delivery
    on May 30, 2026
  2. alt-glitch commented on May 30, 2026

    @alt-glitch

    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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existscomp/gatewayGateway runner, session dispatch, deliveryplatform/feishuFeishu / Lark adaptertype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions