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

PermissionShield: make the permissions docs link configurable instead of hard-coding docs.meshery.io

Đang mở Phù hợp với người mới
#1,883 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

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

Từ ngày 23/10/2026.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
75/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
react, typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Bắt đầu tại src/custom/permissions.tsx, ở lý do thiếu quyền của PermissionShield / PermissionSessionContext, rồi kiểm tra cách các nơi sử dụng hiển thị lý do này. Để nơi sử dụng cung cấp liên kết tài liệu và đảm bảo liên kết được bỏ qua khi không có liên kết nào được cung cấp hoặc khi truyền null. Hoàn tất khi nơi sử dụng có thể cung cấp liên kết riêng hoặc ẩn liên kết đó, và quá trình crawl tenant mang thương hiệu riêng không còn tìm thấy liên kết Meshery.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Current Behavior

src/custom/permissions.tsx (the missing-permission reason rendered by PermissionShield / PermissionSessionContext) hard-codes a link to https://docs.meshery.io/reference/references/permissions/ (line 347 at master). Every consumer renders that link, including Layer5 Cloud on a white-labeled tenant's own custom domain (for example cloud.blowhorn.ai), where users must not see Meshery or Layer5 references.

Expected Behavior

The permissions documentation link is a prop (or context value) the consumer supplies. When the consumer does not supply one, the link is omitted rather than defaulting to the Meshery docs, or the consumer can explicitly pass null to hide it.

Context

Found by the branded-tenant crawl in layer5io/meshery-cloud (ui/e2e/branded-tenant-no-provider-brand.spec.ts), which fails on /identity/organizations for a custom-domain organization solely because of this link. Cloud will pass its own link on provider hosts and none on branded hosts once the prop exists.

Ngôn ngữ chính
TypeScript
Star
140
Fork
244
Merge trung bình
5 ngày 10 giờ
Pull request đã merge (30 ngày)
17

Chuẩn bị môi trường

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 layer5io/sistent

Tất cả issue của layer5io/sistent

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.