permission-system

Generate Flyway RBAC migration scripts for new feature modules.

4|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/m19803261706/springboot-vben-admin --skill permission-system-m19803261706
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: permission-system
Source: https://github.com/m19803261706/springboot-vben-admin/tree/main/.claude/skills/permission-system
Command: npx skills add https://github.com/m19803261706/springboot-vben-admin --skill permission-system-m19803261706

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

应急管理系统在新增功能模块、配置菜单权限及数据权限时,需要一致的权限体系和迁移脚本以确保系统安全、权限正确分配和部署一致性。本 Skill 提供开发规范和迁移 SQL 的强制性要求以降低漏授权和权限错配风险。

Core Features & Use Cases

  • RBAC 架构定义:覆盖菜单权限、按钮权限和数据权限三维权限模型,确保权限粒度和可追溯性。
  • 强制迁移 SQL:要求为新模块生成 Flyway 迁移脚本,包含菜单和权限分配,确保超级管理员默认权限。
  • 命名规范与示例:提供权限标识命名规范、数据权限类型和示例,帮助团队在实现中新建权限时保持一致。
  • 数据权限策略:定义数据权限范围及实现方式,确保按部门、本人、或自定义范围来控制数据访问。
  • CX 集成指南:将权限创建流程纳入 CX 流程,确保新模块上线时自动生成合规的权限迁移内容。

Quick Start

当创建新功能模块时,生成所需的 Flyway SQL 并应用它以更新授权模型。

Frequently Asked Questions about permission-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Flyway migration SQL for new RBAC menu and button permissions?

To generate Flyway migration SQL for RBAC permissions, you create a standardized script that includes menu entries, button permissions, and data permissions, ensuring the admin role receives default authorizations upon execution.

What is the best way to standardize RBAC data permission scopes across backend services?

Standardizing RBAC data permission scopes involves defining access ranges by department, personal scope, or custom dimensions within your migration protocol, ensuring consistent data access control across new feature modules.

How does integrating RBAC permission creation into CX workflows prevent authorization errors?

Integrating RBAC permission creation into CX workflows enforces mandatory Flyway SQL migration script generation and naming conventions, preventing missing authorizations and permission misconfigurations during deployment.

Does this RBAC migration protocol support automated admin role permission synchronization?

Yes, the RBAC migration protocol supports automated admin role permission synchronization by enforcing that every new module's Flyway script includes default superadministrator permission allocations.

Why do I need a Flyway migration script when adding a new feature module menu?

You need a Flyway migration script when adding a new feature module menu to guarantee deployment consistency and ensure that menu, button, and data permissions are migrated correctly without manual database intervention.

What naming conventions are enforced for RBAC permission identifiers in this system?

The system enforces specific naming conventions for RBAC permission identifiers, data permission types, and examples to ensure team consistency and traceability when implementing new permissions across modules.