coder / coder/code-server

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

オープン
#6,565 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
TypeScript
スター
79.3k
フォーク
6.8k
平均マージ
2日 6時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。