coder / coder/code-server

[Feat]: Lock the codeserver interface after inactive timeperiod or manual logoff

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

描述

## What is your suggestion?
We have a sign-out button that deletes the cookie file to clear the credentials. Can we have a logout menu that will lock the code server and asks for the password? The transparency of the lock screen can be made editable by user.
## Why do you want this feature?
There are some scenarios where i am not able to lock the system which will go to sleep as per my system settings. i need the laptop to be open + web browser active, but the code server can lock itself and show a password window after a specified window inactive period or when manually logged out.
This will definitely protect my code from anonymous modification and works well on shared computers or logins.
This happens when i train machine learning models on the server. it is mandatory that i should keep my system and browser open for several hours. But it becomes my prime responsibility that i should block someone from the same room views/access/modify/copy/download the code & results while running the builds.
signing out will stop me from viewing or reconnecting to the same instance to vire progress or results - especially in jupyter notebooks.
## Are there any workarounds to get this functionality today?
it must be developed based on the inactivity period or logoff menu
## Are you interested in submitting a PR for this?
No.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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