chat: Explain disabled permission modes instead of hiding them #343302

Merged
rwoll opened 1:35pm on October 21, 2026 wanted to merge 918 Ξ” into microsoft/vscode main from
agents/enterprise-disabled-permission-modes
Diff Delta:
918
About 155 Diff Delta/hour
Classified as:  General

rwoll's Description of Work

Users see Assisted and Allow All promoted in documentation, but enterprise restrictions currently make these options disappear. That makes an intentional restriction look like a missing feature.

Keep supported, restricted modes visible but disabled, with a clear reason and a briefcase when policy is known. Hide Assisted's "New" badge while disabled. Permission enforcement and the Harness picker are unchanged.

Test: Apply managed permissions.disableAssistedPermissionsMode: true and permissions.disableBypassPermissionsMode: "disable", then restart. Confirm both modes remain visible but cannot be selected, and Assisted has no "New" badge. Remove the restrictions and restart to confirm selection and the badge return.

πŸ€– Authored with GitHub Copilot on behalf of @rwoll.

23 total changed files
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
You’ve reached the end
All files reviewed β€” nice work, champ! πŸ’ͺ