Add implementation for setting to disable Github extensions (#12838)

This commit is contained in:
kevinjwang1
2025-11-11 18:37:01 +00:00
committed by GitHub
parent cc2c48d59e
commit b248ec6dfb
5 changed files with 89 additions and 0 deletions
@@ -1102,6 +1102,15 @@ const SETTINGS_SCHEMA = {
description: 'Disable YOLO mode, even if enabled by a flag.',
showInDialog: true,
},
blockGitExtensions: {
type: 'boolean',
label: 'Blocks extensions from Git',
category: 'Security',
requiresRestart: true,
default: false,
description: 'Blocks installing and loading extensions from Git.',
showInDialog: true,
},
folderTrust: {
type: 'object',
label: 'Folder Trust',