Describe the bug
Non-interactive (-p / --prompt) with --allow-all / --yolo grant permissions automatically even when .github-private/copilot/managed-settings.json is configured with:
{
"permissions": {
"disableBypassPermissionsMode": "disable"
}
}
Attempting to run /allow-all / /yolo within the interactive shell correctly states:
Bypass permissions mode has been disabled by policy. Contact your administrator for more information.
Affected version
1.0.80
Steps to reproduce the behavior
- Configure
"disableBypassPermissionsMode": "disable".
- Pass
--yolo -p {prompt} to copilot CLI.
Expected behavior
yolo mode is ignored and tool calls are denied.
Additional context
No response
Describe the bug
Non-interactive (
-p/--prompt) with--allow-all/--yologrant permissions automatically even when.github-private/copilot/managed-settings.jsonis configured with:{ "permissions": { "disableBypassPermissionsMode": "disable" } }Attempting to run
/allow-all//yolowithin the interactive shell correctly states:Affected version
1.0.80
Steps to reproduce the behavior
"disableBypassPermissionsMode": "disable".--yolo -p {prompt}to copilot CLI.Expected behavior
yolomode is ignored and tool calls are denied.Additional context
No response