How to configure permission auto-approve in OpenACP? #121
-
|
I trust my agent and don't want to manually approve every file read and write. Is there a way to auto-approve permission requests in OpenACP? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
By default, every agent action (read file, write file, run command) requires your approval via buttons on Telegram/Discord/Slack. Timeout: 10 minutes — no response = auto-reject. Enable auto-approve (dangerous mode): Via API CLI: openacp api dangerous <session-id> on # Enable auto-approve for session
openacp api dangerous <session-id> off # Disable auto-approveWhen dangerous mode is on, the agent is automatically approved for all permission requests without requiring you to press any button. Note: Dangerous mode is per-session only, not global. Each new session defaults to How the Permission Gate works:
Related: Permissions · Security |
Beta Was this translation helpful? Give feedback.
By default, every agent action (read file, write file, run command) requires your approval via buttons on Telegram/Discord/Slack. Timeout: 10 minutes — no response = auto-reject.
Enable auto-approve (dangerous mode):
Via API CLI:
When dangerous mode is on, the agent is automatically approved for all permission requests without requiring you to press any button.
Note: Dangerous mode is per-session only, not global. Each new session defaults to
dangerousMode: false.How the Permission Gate works: