Ability to use 'sf lightning dev site' commands in different user context
@nrkruk arbeitet bereits daran.
Seit 30.1.2025.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 19
- Forks
- 19
- Ø Merge
- 17 Std. 48 Min.
- Gemergte PRs (30 T.)
- 1
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus salesforcecli/plugin-lightning-dev
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
salesforcecli/plugin-lightning-dev#686 · 1 Kommentar ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 42/100
salesforcecli/plugin-lightning-dev#627 · 2 Kommentare · 1 Reaktion ·
-
BUG P2
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
salesforcecli/plugin-lightning-dev#544 · 4 Kommentare ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
salesforcecli/plugin-lightning-dev#456 · 1 Reaktion ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
Alle Issues in salesforcecli/plugin-lightning-dev