完善审计日志展示与导出权限
This commit is contained in:
@@ -120,4 +120,10 @@ describe("project management access", () => {
|
||||
expect(projects).not.toContain('audit_export: { read: "audit_logs:read", write: "audit_logs:read" }');
|
||||
expect(router).not.toContain('audit_export: { read: "audit_logs:read", write: "audit_logs:read" }');
|
||||
});
|
||||
|
||||
it("opens audit logs with an explicit project id", () => {
|
||||
const projects = readProjects();
|
||||
|
||||
expect(projects).toContain('await enterStudy(row, `/admin/audit-logs?projectId=${row.id}`)');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user