Files
wenzi/.claude/settings.local.json
Your Name 62b1eef3af feat(permission): 完成权限核心模块后端
- 添加 UserRoleRepository 实现用户角色关联查询
- 添加 RolePermissionRepository 实现角色权限关联查询
- 完善 PermissionCheckService 实现核心权限验证逻辑
  - hasRole(): 检查用户是否拥有指定角色
  - getUserPermissions(): 获取用户所有权限
  - getUserDataScope(): 获取用户数据权限范围
  - getUserRoleCodes(): 获取用户角色代码列表
  - roleHasPermission(): 检查角色是否拥有权限
  - getRolePermissions(): 获取角色权限列表
2026-03-04 22:39:28 +08:00

26 lines
433 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"
],
"deny": []
},
"autoApprovedAllowDangerous": true
}