- 添加 PermissionButton.vue 权限按钮组件 - 添加 PermissionDialog.vue 权限对话框组件 - 添加 role.ts 角色管理服务 - 添加 RoleManagementView.vue 角色管理页面 - 更新路由配置添加角色管理页面 - 更新 App.vue 添加角色管理菜单入口 - 修复 TypeScript 类型定义问题 - 前端编译验证通过
31 lines
752 B
JSON
31 lines
752 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(mvn *)",
|
|
"Bash(git *)",
|
|
"Bash(rm *)",
|
|
"Bash(mkdir *)",
|
|
"Bash(touch *)",
|
|
"Bash(cat *)",
|
|
"Bash(ls *)",
|
|
"Bash(find *)",
|
|
"Bash(grep *)",
|
|
"Bash(sed *)",
|
|
"Bash(java *)",
|
|
"Bash(python3 *)",
|
|
"Write",
|
|
"Edit",
|
|
"Read",
|
|
"Glob",
|
|
"Grep",
|
|
"Bash(cd /home/long/project/蚊子/frontend/admin && npm run build 2>&1 | head -30)",
|
|
"Bash(npm run build 2>&1 | head -40)",
|
|
"Bash(npm run build 2>&1 | head -50)",
|
|
"Bash(cd /home/long/project/蚊子/frontend/admin && npm run build 2>&1 | tail -20)",
|
|
"Bash(npm run build 2>&1 | tail -15)"
|
|
],
|
|
"deny": []
|
|
},
|
|
"autoApprovedAllowDangerous": true
|
|
}
|