自动审批模式下,所属工作区内批量移动/删除文件会审批失败
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 401
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: Siah
**客户端版本**: 0.1.44
---
## 现象
在自动审批(Full Access / bypassPermissions)模式下,对当前所属工作区内的文件执行批量移动或删除操作时,审批直接失败,操作无法执行。
## 复现步骤
1. 开启自动审批模式(Full Access)。
2. 在所属工作区内对多个文件执行批量移动(mv)或删除(rm)操作。
3. 观察到操作直接失败,未被执行。
## 期望行为
自动审批模式下,对所属工作区内的批量移动/删除操作应正常执行,无需逐个弹窗确认。
## 实际行为
批量操作直接失败;单文件操作有概率失败,批量操作绝对失败。
## 复现频率
很高,批量操作几乎必现。
## 已尝试
多次出现这个情况
---
**版本区域**: CN
**OS**: win32 x64 (10.0.19045)
**界面语言**: zh-CN
Contributor guide
Research direction
Start by reproducing the failure in Full Access/bypassPermissions mode on Windows, then trace the TypeScript desktop client's approval path for workspace-scoped batch mv and rm operations and compare it with single-file handling. Done means batch moves and deletes in the current workspace execute without approval prompts or failures, while the existing behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- authorization, desktop, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100