9001 / 9001/copyparty

Allow custom uid and gid for each user

未關閉
#652 0 則留言 0 個 reaction 已指派 1 人 已被 @9001 認領 在 GitHub 檢視
enhancement
主要語言
Python
星號
46.7k
分支
1.9k
平均合併
9 天 2 小時
30 天內合併 PR
4

描述

It would be nice to restrict each account to a specific uid and gid when creating or uploading new files.

Currently, uid and gid can be configured per-volume, but not per-user.

It could be an option of the `[accounts]` section.

Thanks!

貢獻指南

開啟貢獻指南

研究方向

查看程式碼庫中的帳戶設定區段,可能位於設定檔或處理使用者設定的模組中。了解目前如何實作每個磁碟區的 uid/gid。這項變更包括新增每位使用者的 uid/gid 選項,並修改使用者建立和檔案上傳邏輯,以套用這些限制。建立一個具有自訂 uid/gid 的使用者,並驗證上傳時的檔案擁有權,以進行測試。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
authentication, authorization, backend
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

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

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