Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Ability to use 'sf lightning dev site' commands in different user context

Offen
#324 3 Kommentare 2 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@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

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus salesforcecli/plugin-lightning-dev

Alle Issues in salesforcecli/plugin-lightning-dev

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.