-
-
Notifications
You must be signed in to change notification settings - Fork 69.1k
Cannot fully disable exec approval system - UI popups persist after Security Mode set to Full #49266
Copy link
Copy link
Closed as duplicate of#58769
Closed as duplicate of#58769
Copy link
Description
Description
After running openclaw approvals allowlist add to add allowlist patterns, the exec approval system cannot be fully disabled. The gateway UI continues showing approval popups for every command executed by cron jobs and the main agent, even after:
- Setting Security Mode to "Full" in Control UI → Nodes
- Setting
approvals.exec.enabled: falsein openclaw.json - Removing the entire
approvalssection from openclaw.json - Deleting
~/.openclaw/exec-approvals.jsonand~/.openclaw/exec-approvals.sock - Running
openclaw approvals set --stdinwith{"version":1,"defaults":{"security":"full"},"agents":{}} - Multiple gateway restarts after each change
Current Behavior
- Main session commands show "Approval required" text but execute (cosmetic issue)
- Cron job sessions show Security: "allowlist" and Ask: "on-miss" in UI popups
- Clicking "Always allow" on each popup works but there are dozens of cron commands
- The
exec-approvals.jsonfile is recreated on gateway restart even after deletion
Expected Behavior
Setting Security Mode to "Full" in the Control UI should:
- Suppress all UI approval popups
- Apply to ALL sessions (main + cron/isolated)
- Not require individual command-by-command approval
Alternatively, there should be a way to factory-reset the approval system to its default state (as if openclaw approvals allowlist add was never run).
Steps to Reproduce
- Run
openclaw approvals allowlist add --agent main "ls *"(any pattern) - This creates
~/.openclaw/exec-approvals.jsonwith a socket - Try to disable: Control UI → Nodes → Security Mode → Full → Save
- Restart gateway
- Run any command — UI popup still appears
Environment
- OpenClaw 2026.3.8 (3caab92)
- macOS 25.3.0 (arm64) / Mac Mini
- Node v22.22.0
- Model: Claude Sonnet/Opus
Question
How do you fully reset the exec approval system to factory defaults? Is there a command like openclaw approvals reset or a config flag to suppress UI notifications entirely?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.