Ability to use 'sf lightning dev site' commands in different user context
@nrkruk 已经在做这个了。
开始于 2025年1月30日。
评估
这个 Issue 还没有评估数据。
描述
In order for this tool to be fully functional, it's necessary to add support to running the lightning dev context under different user contexts. This is especially essential for building Experience Sites as without the proper community user context, entire sections of the experience site are unusable and the usefulness of this tool is severely limited.
Ideally the command should include parameters allowing for the specification of the target username to run the lightning dev localhost context under to allow for context switching while developing experience sites.
I've ran into this especially when working with the B2B Commerce site, which relies heavily on the community user context, and I have tried enabling guest user access, however this only partly solves the problem since the site is still running under the admin user context, which breaks core functionality that would otherwise exist to a generic guest user context, as it appears that the context of the scratch org admin is passed along with the api calls.
- 主要语言
- TypeScript
- 星标
- 19
- 派生
- 19
- 平均合并
- 3 天 12 小时
- 30 天内合并 PR
- 2
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
salesforcecli/plugin-lightning-dev 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
salesforcecli/plugin-lightning-dev#686 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 42/100
salesforcecli/plugin-lightning-dev#627 · 2 条评论 · 1 个 reaction ·
-
BUG P2
难度 3/5 1-2 天 新手友好度 45/100
salesforcecli/plugin-lightning-dev#544 · 4 条评论 ·
-
难度 3/5 1-2 天 新手友好度 45/100
salesforcecli/plugin-lightning-dev#456 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
查看 salesforcecli/plugin-lightning-dev 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
opengovsg/FormSG#10118 · 1 条评论 ·
维护者通常 1 天内回复
-
ai-driven-qa bug claude
难度 1/5 1 小时以内 新手友好度 75/100
linagora/twake-calendar-frontend#1434 · 1 条评论 ·
维护者通常 1 天内回复
-
check:passed streams:add
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 半天 新手友好度 78/100
jaegertracing/jaeger-ui#4512 ·
维护者通常 1 天内回复
-
area:ide documentation enhancement platform:macos platform:vscode
难度 1/5 1-3 小时 新手友好度 88/100
anthropics/claude-code#97389 ·
维护者通常 1 天内回复