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 摘要。