Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#324 3 bình luận 2 reaction 1 người được giao Xem trên GitHub

@nrkruk đang làm issue này rồi.

Từ ngày 30/1/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
19
Fork
19
Merge trung bình
3 ngày 12 giờ
Pull request đã merge (30 ngày)
2

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của salesforcecli/plugin-lightning-dev

Tất cả issue của salesforcecli/plugin-lightning-dev

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.