mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-09 12:51:09 -07:00
feat(security): add disableAlwaysAllow setting to disable auto-approvals (#21941)
This commit is contained in:
@@ -1495,6 +1495,13 @@
|
||||
"default": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
"disableAlwaysAllow": {
|
||||
"title": "Disable Always Allow",
|
||||
"description": "Disable \"Always allow\" options in tool confirmation dialogs.",
|
||||
"markdownDescription": "Disable \"Always allow\" options in tool confirmation dialogs.\n\n- Category: `Security`\n- Requires restart: `yes`\n- Default: `false`",
|
||||
"default": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
"enablePermanentToolApproval": {
|
||||
"title": "Allow Permanent Tool Approval",
|
||||
"description": "Enable the \"Allow for all future sessions\" option in tool confirmation dialogs.",
|
||||
@@ -2027,8 +2034,8 @@
|
||||
"properties": {
|
||||
"secureModeEnabled": {
|
||||
"title": "Secure Mode Enabled",
|
||||
"description": "If true, disallows yolo mode from being used.",
|
||||
"markdownDescription": "If true, disallows yolo mode from being used.\n\n- Category: `Admin`\n- Requires restart: `no`\n- Default: `false`",
|
||||
"description": "If true, disallows YOLO mode and \"Always allow\" options from being used.",
|
||||
"markdownDescription": "If true, disallows YOLO mode and \"Always allow\" options from being used.\n\n- Category: `Admin`\n- Requires restart: `no`\n- Default: `false`",
|
||||
"default": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user