Skip to content
cccskills
FreePublished on GitHub

add-permission

Integrate new FastGPT resources, such as AgentSkill or Plugin, with permission management. Choose an integration guide based on resource hierarchy and permission inheritance, locate the relevant code, and review a checklist for missing implementation steps.

OriginalShow the original description

为 FastGPT 新资源接入权限管理。当用户需要为新资源(如 AgentSkill、Plugin 等)添加权限支持时触发。

See how to install

Good for

  • Adding permission support to a new FastGPT resource
  • Choosing an integration path based on permission inheritance
  • Finding code locations for permission definitions and checks
  • Reviewing an integration for missing implementation steps

Files included (11)

  • SKILL.md1.3 KB
  • checklist.md3.4 KB
  • guides/full-integration.md7.1 KB
  • guides/quick-start.md4.6 KB
  • reference/auth-function.md6.2 KB
  • reference/core-concepts.md3.3 KB
  • reference/inheritance.md8.4 KB
  • reference/permission-class.md3.2 KB
  • reference/pro-collaborator.md8.9 KB
  • reference/pro-owner-transfer.md6.2 KB
  • reference/README.md1.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

新资源权限接入

你的资源是哪种类型?

资源有父子/文件夹结构吗?
     │
     ├─ 否 ──► 简单资源 ──► [快速入门](./guides/quick-start.md)
     │
     └─ 是 ──► 资源支持权限继承吗?
                    │
                    ├─ 否 ──► 简单资源 ──► [快速入门](./guides/quick-start.md)
                    │
                    └─ 是 ──► 继承型资源 ──► [完整接入](./guides/full-integration.md)

快速链接

我想...去看...
5 步完成最小接入快速入门
接入继承型资源完整接入
检查遗漏项实施清单
理解权限系统原理参考文档

关键代码位置

文件用途
packages/global/support/permission/constant.ts添加 PerResourceTypeEnum
packages/global/support/permission/{resource}/权限常量 + Permission 类
packages/service/support/permission/{resource}/auth.ts鉴权函数

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

api-development

FreeSummary

Develop and review FastGPT APIs with consistent input and output checks, TypeScript types, and OpenAPI documentation. It guides the use of Zod schemas, definitions that describe and validate data, alongside permission checks and reusable structures.

  • Adding a new FastGPT API route
  • Changing API inputs or responses
  • Reviewing API validation and documentation
labring/FastGPT29.9KUpdated Oct 19, 2026

ci-workflow-sync

FreeSummary

Keep FastGPT build and test workflows aligned across GitHub Actions and Forgejo Actions. Adapt registry destinations, credentials, proxy settings, and platform-specific steps so the corresponding workflows support the internal network environment.

  • Synchronizing CI changes across GitHub and Forgejo
  • Adapting image builds for an internal network
  • Checking pull requests for missing workflow updates
labring/FastGPT29.9KUpdated Oct 19, 2026

Retire a FastGPT workflow node while preserving existing workflows. The skill guides changes to templates, execution handlers, and interface references so the node disappears from creation menus but still loads, runs, and displays a replacement notice.

  • Retiring a FastGPT workflow node
  • Hiding a node from creation menus
  • Preserving existing workflows during node retirement
labring/FastGPT29.9KUpdated Oct 19, 2026

doc-i18n

FreeSummary

Translate FastGPT documentation from Chinese into natural English for North American readers. Follow the shared product glossary, preserve document structure and code, synchronize navigation files, and check for missing translations or English pages that need updates.

  • Updating English docs after changes to Chinese pages
  • Translating a specified documentation folder
  • Synchronizing English navigation with translated pages
labring/FastGPT29.9KUpdated Oct 19, 2026

Deploy FastGPT on your own server using its official installation script and Docker Compose, which runs its services together. Check service health and access, investigate deployment problems, and receive the access URL, initial login details, and next steps.

  • Setting up FastGPT on your own server
  • Checking service health after deployment
  • Investigating port conflicts or container startup failures
labring/FastGPT29.9KUpdated Oct 19, 2026

i18n-translate

FreeSummary

Translate selected FastGPT interface text files from Simplified Chinese into every supported target locale. Check product terminology and interface context, preserve JSON structure and placeholders, and validate the translated files for consistency.

  • Translating a selected interface text file into all supported locales
  • Updating several translation files together
  • Translating every namespace from completed Chinese source text
labring/FastGPT29.9KUpdated Oct 19, 2026

See all skills by labring

Report a problem with this skill