nodeSolidServer / nodeSolidServer/node-solid-server
.acl files not deleted, become unfindable
未關閉
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 1.8k
- 分支
- 308
- PR 合併指標
- 30 天內沒有已合併 PR
描述
If I delete a file /foo/bar.txt that is controlled by /foo/bar.txt.acl, the .acl file does not get deleted. It becomes invisible because without being able to query /foo/bar.txt's link header, there's no way to know where its .acl should be and .acl files are not discover-able with a GET on a container. This now-unfindable file then prevents us from deleting it's container /foo/ since the container is non-empty and returns 409 on attempt to delete it even though it "looks" empty.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
追蹤具有對應 .acl 檔案之檔案的 JavaScript 資源刪除路徑,然後檢查如何判定容器是否為空。重現刪除 /foo/bar.txt,並確認其 /foo/bar.txt.acl 已被刪除或以其他方式處理,且之後可以刪除 /foo。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- backend, security
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100