Skip to content

Commit 613748b

Browse files
authored
fix: Rename bypass permissions to auto-accept permissions (#1469)
## Problem "Bypass Permissions" is confusing and sounds like a security exploit rather than a deliberate user choice. <!-- Who is this for and what problem does it solve? --> <!-- Closes #ISSUE_ID --> ## Changes 1. Rename "Bypass Permissions" to "Auto-accept permissions" across settings UI and agent 2. Update callout text to mention shift+tab shortcut for toggling the mode 3. Reword confirmation dialog to use "auto-accept" language <!-- What did you change and why? --> <!-- If there are frontend changes, include screenshots. --> ## How did you test this? Manually <!-- Describe what you tested -- manual steps, automated tests, or both. --> <!-- If you're an agent, only list tests you actually ran. -->
1 parent a062542 commit 613748b

3 files changed

Lines changed: 15 additions & 14 deletions

File tree

apps/code/src/renderer/features/settings/components/sections/ClaudeCodeSettings.tsx

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ export function ClaudeCodeSettings() {
178178
<PermissionsSettings />
179179

180180
<SettingRow
181-
label="Bypass Permissions mode"
182-
description="Skips all permission rules. PostHog Code will run every tool without asking for approval"
181+
label="Auto-accept permissions"
182+
description="Skip all permission prompts. Claude will run bash commands, edit files, browse the web and use any tool without asking first"
183183
noBorder
184184
>
185185
<Switch
@@ -195,8 +195,9 @@ export function ClaudeCodeSettings() {
195195
<Warning weight="fill" />
196196
</Callout.Icon>
197197
<Callout.Text>
198-
Bypass Permissions mode is enabled. All permission rules are
199-
ignored.
198+
Auto-accept is enabled. All actions (shell commands, file edits, web
199+
requests) run without approval. Use shift+tab to cycle to this mode
200+
per session.
200201
</Callout.Text>
201202
</Callout.Root>
202203
)}
@@ -210,24 +211,24 @@ export function ClaudeCodeSettings() {
210211
<Flex align="center" gap="2">
211212
<Warning size={20} weight="fill" color="var(--red-9)" />
212213
<Text color="red" weight="bold">
213-
Enable Bypass Permissions mode
214+
Enable auto-accept permissions
214215
</Text>
215216
</Flex>
216217
</AlertDialog.Title>
217218
<AlertDialog.Description size="2">
218219
<Flex direction="column" gap="3">
219220
<Text color="red" weight="medium">
220-
In Bypass Permissions mode, PostHog Code will not ask for your
221-
approval before running potentially dangerous commands.
221+
With auto-accept enabled, Claude will execute every action
222+
without asking — including shell commands, file edits, web
223+
requests and any installed MCP tools.
222224
</Text>
223225
<Text>
224-
This mode should only be used in a sandboxed container/VM that
225-
has restricted internet access and can easily be restored if
226-
damaged.
226+
This mode is intended for sandboxed environments (containers or
227+
VMs) with restricted network access that can be easily restored.
227228
</Text>
228229
<Text weight="medium">
229230
By proceeding, you accept all responsibility for actions taken
230-
while running in Bypass Permissions mode.
231+
while auto-accept is enabled.
231232
</Text>
232233
</Flex>
233234
</AlertDialog.Description>

packages/agent/src/adapters/claude/permissions/permission-options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export function buildExitPlanModePermissionOptions(): PermissionOption[] {
100100
if (ALLOW_BYPASS) {
101101
options.push({
102102
kind: "allow_always",
103-
name: "Yes, bypass all permissions",
103+
name: "Yes, auto-accept all permissions",
104104
optionId: "bypassPermissions",
105105
});
106106
}

packages/agent/src/execution-mode.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ const availableModes: ModeInfo[] = [
3535
if (ALLOW_BYPASS) {
3636
availableModes.push({
3737
id: "bypassPermissions",
38-
name: "Bypass Permissions",
39-
description: "Bypass all permission checks",
38+
name: "Auto-accept Permissions",
39+
description: "Auto-accept all permission requests",
4040
});
4141
}
4242

0 commit comments

Comments
 (0)