PermissionShield: make the permissions docs link configurable instead of hard-coding docs.meshery.io
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
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của layer5io/sistent
-
InfoTooltip is not keyboard reachable and has no accessible nameCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[UI] Permission Shield tooltip uses fixed `placement="top"` instead of adaptive placementCó thể đã có người làm @dhruveshmishra đã nhận 79 ngày trước. Đang mởcomponent/ui help wanted kind/enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
layer5io/sistent#1772 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Barrel re-exports DateTimePickerProps from the optional peer @mui/x-date-pickers, so the type is `any` for consumers who skip itCó thể đã có người làm @Valyrian-Code đã nhận 89 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
layer5io/sistent#1749 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ESM build is not loadable by Node: extensionless 'lodash/debounce' specifier in dist/index.mjsCó thể làm lại được @Salmaan-M đã nhận 93 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
layer5io/sistent#1739 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] Header fullscreen/close controls lack accessible names and use hardcoded icon fillsCó thể đã có người làm @PARTH-TUSSLE đã nhận 5 ngày trước. Đang mởkind/bug
layer5io/sistent#1880 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của layer5io/sistent
Issue tương tự
-
level/task type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
wazuh/wazuh-dashboard-plugins#9508 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Testnet EOL page links Zonescan mainnetCó thể đã có người làm @napelvs đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Azure-Samples/azure-search-openai-demo#3249 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Docs] docs/architecture.mermaid leaves out 21 of the 51 src/ directoriesCó thể đã có người làm @uyg7x đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement status:needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
dongdongbh/Mindwtr#1438 ·
Maintainer thường phản hồi trong vòng 1 ngày