PermissionShield: make the permissions docs link configurable instead of hard-coding docs.meshery.io
维护者通常 1 天内回复
@ReVuz 已经在做这个了。
开始于 2026年10月19日。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 75/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- react, typescript
- 领域
- frontend
调研方向
从 src/custom/permissions.tsx 中 PermissionShield / PermissionSessionContext 的缺少权限原因处开始,然后检查使用方如何渲染它。让使用方提供文档链接,并确保未提供链接或传入 null 时省略该链接。完成标准是:使用方可以提供自己的链接或将其隐藏,并且品牌化租户的爬取不再找到 Meshery 链接。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- TypeScript
- 星标
- 140
- 派生
- 243
- 平均合并
- 5 天 10 小时
- 30 天内合并 PR
- 17
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
layer5io/sistent 的其他 Issue
-
InfoTooltip is not keyboard reachable and has no accessible name可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
[UI] Permission Shield tooltip uses fixed `placement="top"` instead of adaptive placement可能已有人在做 @dhruveshmishra 于 76 天前认领。 未关闭component/ui help wanted kind/enhancement
难度 2/5 1-3 小时 新手友好度 68/100
layer5io/sistent#1772 · 5 条评论 ·
维护者通常 1 天内回复
-
Barrel re-exports DateTimePickerProps from the optional peer @mui/x-date-pickers, so the type is `any` for consumers who skip it可能已有人在做 @Valyrian-Code 于 86 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
layer5io/sistent#1749 · 1 条评论 ·
维护者通常 1 天内回复
-
ESM build is not loadable by Node: extensionless 'lodash/debounce' specifier in dist/index.mjs可能重新可做 @Salmaan-M 于 90 天前认领,目前没有进行中的 PR。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
layer5io/sistent#1739 · 1 条评论 ·
维护者通常 1 天内回复
-
[Bug] Header fullscreen/close controls lack accessible names and use hardcoded icon fills可能已有人在做 @PARTH-TUSSLE 于 2 天前认领。 未关闭kind/bug
layer5io/sistent#1880 · 已指派 1 人 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
diegosouzapw/OmniRoute#17386 ·
维护者通常 1 天内回复
-
ready-for-agent
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
area/dashboard kind/bug kind/bug-qa QA/dev-automation
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
vybestack/llxprt-code#3917 · 1 条评论 ·
维护者通常 1 天内回复
-
api-parity
难度 2/5 1-3 小时 新手友好度 76/100
IBM/carbon-components-ember#1157 ·
维护者通常 1 天内回复