[move / delete] Prevent / secure large operations
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- javascript
调研方向
该 issue 未指定文件或测试。首先定位 move 和 delete 的 API 入口点,然后将它们的行为与 UI 的 100 个文件限制及转换到回收站的行为进行比较。在实现之前,确定针对大规模移动、root 重命名和直接删除的阈值与保护策略;完成时应覆盖这些已达成一致的情况。
由索引模型根据 Issue 内容生成。
描述
The UI will prevent user to move / delete more than 100 files (exact number still being defined). This is to prevent large scale undesired move or delete operations.
This could easily happen too via an API call. And here, there is no safeguard, API will execute. With the rise of agents and MCP, probably and risk is increasing a lot.
API consumer could easily:
- fire a move from
/project/ento something else (renameenroot). This would rename the wholeentree with pretty serious impact. The large scale is not the only issue: this has an impact on the site logic itself - fire a delete of
/project/en. UI converts the delete to a "move to trash". Directly using the delete api should be restricted or "safeguarded.
Not sure what is the best way to secure these operations.
- 主要语言
- JavaScript
- 星标
- 6
- 派生
- 18
- 平均合并
- 9 小时 30 分钟
- 30 天内合并 PR
- 3
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
adobe/da-admin 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 12/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 68/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
approved check:passed logos:add
难度 1/5 1 小时以内 新手友好度 74/100
维护者通常 2 天内回复
-
binding:python bug
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
AOSSIE-Org/BabyNest#310 · 1 条评论 ·
维护者通常 1 天内回复
-
bug needs-triage potential-regression
难度 2/5 1-3 小时 新手友好度 78/100
aws/aws-sdk-js-v3#8408 ·
维护者通常 1 天内回复