coder / coder/code-server

[Feat]: Add `disable-folder-downloads`

未關閉
#6,565 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
TypeScript
星號
79.3k
分支
6.8k
平均合併
2 天 6 小時
30 天內合併 PR
41

描述

## What is your suggestion?
1. `disable-file-downloads` prevents all forms of downloading
2. I would like to disable downloading of whole folders only but allow downloading of 1 file

## Why do you want this feature?
My aim is to not allow whole folder downloads as it can lead to bad practices/security issues but downloading of files, 1 by 1 is acceptable as a convenience feature

## Are there any workarounds to get this functionality today?
Yes, allow file downloads which also allows folder downloads

## Are you interested in submitting a PR for this?
Unfortunately no as my javascript is subpar.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。