feat(drive): add readonly policy

permmit admin to freeze a drive, trash janitor background job is also disabled for this drive
This commit is contained in:
Edouard Vanbelle
2026-07-15 22:21:15 +02:00
parent 346e2e879c
commit a6427fc028
33 changed files with 1094 additions and 95 deletions
+11 -1
View File
@@ -820,7 +820,9 @@
"include_in_photo_index_help": "在照片時間軸與地點地圖中顯示此 Drive 的圖像與影片檔案。預設個人 Drive 會自動包含;針對真正含有照片的共享 Drive(例如「家庭照片」),請開啟此選項。",
"include_in_music_index": "包含於音樂中",
"include_in_music_index_help": "將此 Drive 的音訊檔案包含於音樂媒體庫。預設個人 Drive 會自動包含;針對真正含有音樂收藏的共享 Drive(例如「家庭音樂」、「樂團協作」),請開啟此選項。",
"implied_by_forbid_sharing": "已由「禁止以資源為單位的分享」強制執行。"
"implied_by_forbid_sharing": "已由「禁止以資源為單位的分享」強制執行。",
"read_only": "唯讀(凍結)",
"read_only_help": "完全凍結雲端硬碟 — 任何修改都會被拒絕(上傳、編輯、刪除、重新命名、分享、成員變更)。讀取和下載仍可正常使用。垃圾桶的自動清理也會暫停。適用於封存、法律保留或帳戶關閉。只有管理員可以解凍。"
}
},
"profile": {
@@ -1172,5 +1174,13 @@
"banner_title": "取得您自己的儲存空間",
"banner_body": "您正在使用訪客帳號。升級以取得個人雲端硬碟並開始上傳檔案。",
"banner_cta": "升級"
},
"drive": {
"read_only_banner": {
"title": "此雲端硬碟為唯讀",
"title_named": "雲端硬碟「{{name}}」為唯讀",
"body": "上傳、編輯、刪除、重新命名、分享和成員變更均被拒絕。讀取和下載仍可正常使用。請聯絡管理員解凍此雲端硬碟。",
"aria": "此雲端硬碟為唯讀"
}
}
}