docs(auth): import-users 端点参考补 none 默认 + Console 向导入口#2831
Merged
Conversation
…Console wizard entry The detailed Bulk Import section already documents the none/invite/temporary policies, but the API-reference one-liner still said "invite or temporary" (the pre-#2820 default) and nothing pointed at the Console import wizard shipped in objectui (framework#2782). Adds none as the default to the endpoint reference and a short paragraph on the Users-list Import flow. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016r6eiJzivw1CkwTDSGho1o
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
os-zhuang
marked this pull request as ready for review
July 11, 2026 09:10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
浏览器 dogfood 验证身份导入链路后发现的两处文档小缺口:
none(默认)/invite/temporary,只是这个一行摘要漏了none默认。均为文档修正,无代码变更。
dogfood 验证记录(本 PR 的动因)
启动 showcase 服务器(admin 插件开启)+ objectui HMR 控制台,端到端验证了整条链路:
后端(真实 HTTP):
features.admin门控、create-user(一次性临时密码 + must_change_password)、403 PASSWORD_EXPIRED gate、importnone默认(无凭据建号、密码登录 401)、temporary(每行密码 + 首登强制改密)、行级校验(NO_IDENTITY/INVALID_EMAIL)、dryRun 零写入——全部符合预期。前端(Playwright + 截图):Users 列表出现 Import + Create User 按钮(features.admin 门控);向导 preview 步显示 "Sign-in setup" 面板与 "No password (recommended)" 默认;temporary 策略完整导入后结果页展示一次性密码 + CSV 下载,adapter 正确 POST 到
/admin/import-users。Ref framework#2766 / #2820 / #2782。
🤖 Generated with Claude Code
https://claude.ai/code/session_016r6eiJzivw1CkwTDSGho1o
Generated by Claude Code