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
fix(feishu): approval buttons broken after v0.15.0 upgrade when no admins configured #35032
After upgrading from v0.14.0 to v0.15.0 (or v0.15.1), the Feishu interactive approval buttons (used for /execute command approval) stop responding to clicks. The gateway logs show:
WARNING gateway.platforms.feishu: [Feishu] Unauthorized approval click by ou_xxxxxxxxxxxx
No approval dialog appears; the card briefly flashes a "processing" indicator and silently returns to its prior state.
Root Cause
Commit history between v2026.5.16 (v0.14.0) and v2026.5.28 (v0.15.0):
Commit
Description
485292ac7
Added _allow_group_message() check in _handle_approval_card_action
bdb97b857
Added _is_interactive_operator_authorized() check in _resolve_approval
The blocking call is in _handle_approval_card_action (line 2582) which uses _allow_group_message(). When neither admins nor FEISHU_ALLOWED_USERS are configured, the allowlist is empty and everyone is blocked.
Inconsistency
The same class has two authorization functions with opposite defaults for the unconfigured state:
_is_interactive_operator_authorized returns True (allows everyone) when no admins configured
_allow_group_message returns False (blocks everyone) when policy=allowlist and no users configured
Other card-action handlers use _is_interactive_operator_authorized. The approval button is the odd one out.
Suggested fix
Option A — Replace _allow_group_message with _is_interactive_operator_authorized in _handle_approval_card_action, consistent with other card handlers.
Option B — Make _allow_group_message fall back to "open" policy when both _admins and _allowed_group_users are empty.
Activity
alt-glitch commentedon May 29, 2026
Duplicate of #20596. Fix PR #34707 is already open addressing the same
_allow_group_messagevs_is_interactive_operator_authorizedinconsistency.