openclaw - 💡(How to fix) Fix Bug: WebChat/Control UI exec remains denied with allowlist miss even after elevated and provider tool policy are configured [1 comments, 1 participants]

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…
GitHub stats
openclaw/openclaw#72858Fetched 2026-04-28 06:31:18
View on GitHub
Comments
1
Participants
1
Timeline
1
Reactions
0
Participants
Timeline (top)
commented ×1

In WebChat / Control UI, exec remains unavailable with:

exec denied: allowlist miss

even after configuring both:

  1. elevated sender allow rules for the WebChat sender identity
  2. provider-level tool policy allowing exec and process for webchat

This suggests WebChat / Control UI exec may be gated by an additional internal restriction or a bug in how provider tool policy is applied.

Error Message

After the elevated sender config fix, the prior error changed from elevated allowFrom failure to:

Root Cause

In WebChat / Control UI, exec remains unavailable with:

exec denied: allowlist miss

even after configuring both:

  1. elevated sender allow rules for the WebChat sender identity
  2. provider-level tool policy allowing exec and process for webchat

This suggests WebChat / Control UI exec may be gated by an additional internal restriction or a bug in how provider tool policy is applied.

Code Example

exec denied: allowlist miss

---

{
  "label": "openclaw-control-ui",
  "id": "openclaw-control-ui"
}

---

"webchat": ["webchat"]

---

"webchat": ["webchat", "openclaw-control-ui"]

---

"byProvider": {
  "webchat": {
    "alsoAllow": ["exec", "process"]
  }
}

---

exec denied: allowlist miss

---

openclaw --version
openclaw doctor --help

---

exec denied: allowlist miss
RAW_BUFFERClick to expand / collapse

Summary

In WebChat / Control UI, exec remains unavailable with:

exec denied: allowlist miss

even after configuring both:

  1. elevated sender allow rules for the WebChat sender identity
  2. provider-level tool policy allowing exec and process for webchat

This suggests WebChat / Control UI exec may be gated by an additional internal restriction or a bug in how provider tool policy is applied.

Environment

  • OpenClaw version: 2026.4.25
  • Surface: WebChat / Control UI
  • Sender metadata observed by runtime:
{
  "label": "openclaw-control-ui",
  "id": "openclaw-control-ui"
}

What was configured

elevated sender allow rules

Both global and agent-level config were updated from:

"webchat": ["webchat"]

to:

"webchat": ["webchat", "openclaw-control-ui"]

This appears to have changed the failure mode away from the previous elevated allowFrom failure.

provider-level tool policy

Both global and agent-level config were updated with:

"byProvider": {
  "webchat": {
    "alsoAllow": ["exec", "process"]
  }
}

Gateway was restarted after each config change.

Observed behavior

After the elevated sender config fix, the prior error changed from elevated allowFrom failure to:

exec denied: allowlist miss

Even after adding provider-specific tool policy for webchat, the same allowlist miss error still occurs for basic commands such as:

openclaw --version
openclaw doctor --help

Why this looks like a bug / hidden policy layer

From config schema inspection:

  • tools.elevated.allowFrom supports provider-keyed sender arrays
  • tools.byProvider.* and agents.list.*.tools.byProvider.* support allow, alsoAllow, deny, and profile
  • runtime config confirms the updated values are loaded

However, WebChat exec still fails with allowlist miss, which suggests either:

  1. WebChat / Control UI does not use normal provider tool policy for exec
  2. there is an additional internal hard restriction on exec for this surface
  3. provider policy for WebChat is not being applied correctly

Expected behavior

If WebChat sender identity is allowed in tools.elevated.allowFrom.webchat and exec is explicitly allowed in tools.byProvider.webchat (plus the agent-level equivalent), then basic exec commands should be runnable from WebChat / Control UI.

Actual behavior

WebChat still returns:

exec denied: allowlist miss

Request

Please clarify whether WebChat / Control UI intentionally has an internal exec restriction separate from normal provider tool policy, or whether this is a bug/regression in tool policy application.

extent analysis

TL;DR

The exec denied: allowlist miss error in WebChat / Control UI may be due to an internal restriction or a bug in applying provider tool policy, and further investigation is needed to determine the root cause.

Guidance

  • Verify that the tools.byProvider.webchat configuration is correctly applied to the WebChat sender identity by checking the runtime config and ensuring that the alsoAllow list includes exec and process.
  • Investigate if there are any additional internal restrictions on exec for the WebChat / Control UI surface that may be overriding the provider tool policy.
  • Check the config schema and documentation to see if there are any specific requirements or limitations for configuring exec access for WebChat / Control UI.
  • Test if the issue is specific to the openclaw-control-ui sender identity or if it affects other sender identities as well.

Notes

The issue may be specific to the OpenClaw version 2026.4.25 or the WebChat / Control UI surface, and further investigation is needed to determine the root cause.

Recommendation

Apply workaround: temporarily use an alternative method to execute commands, if possible, while investigating the root cause of the issue.

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…

FAQ

Expected behavior

If WebChat sender identity is allowed in tools.elevated.allowFrom.webchat and exec is explicitly allowed in tools.byProvider.webchat (plus the agent-level equivalent), then basic exec commands should be runnable from WebChat / Control UI.

Still need to ship something?

×6

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

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Bug: WebChat/Control UI exec remains denied with allowlist miss even after elevated and provider tool policy are configured [1 comments, 1 participants]