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
Commit 5364255
Browse filesBrowse the repository at this point in the historyBrowse files
chat: allow leaving global Allow All mode (#340780)
* chat: allow leaving global Allow All mode
Disable the global auto-approve override when a user explicitly selects a lower Agent Host permission level, then persist the session choice across both picker implementations.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* chat: respect enforced global Allow All policy
Keep lower Agent Host permission choices unavailable when ChatToolsAutoApprove is forced true, and recheck policy before persisting stale picker selections.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* chat: keep global Allow All user-controlled
Remove the enterprise-enforced Allow All handling and keep the picker behavior scoped to turning off a user-enabled global auto-approve setting.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: src/vs/sessions/contrib/providers/agentHost/test/browser/agentHost/agentHostPermissionPickerDelegate.test.ts
+20-1Lines changed: 20 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ import { AgentHostCustomTerminalToolEnabledSettingId } from '../../../../../../.
0 commit comments