后台:新增监控审计权限分组并加强接口鉴权 #159
Reference in New Issue
Block a user
Delete Branch "codex/monitoring-audit-rbac"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
变更
analytics-health页面权限,技术角色默认拥有四项监控审计权限;运营默认仅保留设备存活。require_page守卫,四组 API 不再只依赖前端隐藏导航,直接调用也会校验角色或个人页面权限。analytics-health权限,并同步接口文档。验证
ruff check通过。tests/test_admin_roles.py tests/test_analytics_health.py: 24 passed。origin/main上原样复现(主干为 442 passed、6 failed),与本 PR 无关。