为 FastGPT 新资源接入权限管理。当用户需要为新资源(如 AgentSkill、Plugin 等)添加权限支持时触发。
60
70%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.agents/skills/support/permission/add-permission/SKILL.md资源有父子/文件夹结构吗?
│
├─ 否 ──► 简单资源 ──► [快速入门](./guides/quick-start.md)
│
└─ 是 ──► 资源支持权限继承吗?
│
├─ 否 ──► 简单资源 ──► [快速入门](./guides/quick-start.md)
│
└─ 是 ──► 继承型资源 ──► [完整接入](./guides/full-integration.md)| 文件 | 用途 |
|---|---|
packages/global/support/permission/constant.ts | 添加 PerResourceTypeEnum |
packages/global/support/permission/{resource}/ | 权限常量 + Permission 类 |
packages/service/support/permission/{resource}/auth.ts | 鉴权函数 |
dc97c08
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.