feat: 添加密码管理功能,包括 API、数据库支持和前端界面
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# Change: Add password manager (Web + Extension)
|
||||
|
||||
## Why
|
||||
Provide built-in credential saving and autofill for users, with centralized management and admin oversight.
|
||||
|
||||
## What Changes
|
||||
- Add credential save + autofill flows in the extension (explicit user confirmation required).
|
||||
- Add a Web password management page (desktop only) with view/edit/delete.
|
||||
- Add APIs for credential CRUD and admin access; plaintext view available during the current browser session.
|
||||
- Add database schema for credential storage (per-user, per-site, multiple accounts).
|
||||
- Add tests for API and DB flows.
|
||||
|
||||
## Impact
|
||||
- Affected specs: api, password-manager
|
||||
- Affected code: apps/server, apps/web, apps/extension, migrations, spec/openapi.yaml
|
||||
|
||||
## Assumptions (confirm)
|
||||
- “同一网站” is defined as the URL origin (scheme + host + port).
|
||||
- The extension prompts on form submit after username + password are provided.
|
||||
- Credentials are stored encrypted at rest and decrypted server-side for plaintext display.
|
||||
Reference in New Issue
Block a user