build-flow.api/Directory.Build.props
xiangning 67dce6b1f4 feat(security): 为端点添加权限控制并优化AI模型配置管理
- 为多个端点添加权限控制,包括文件操作、工作流任务、群组管理和表单相关功能
- 重构ChatAgentService以支持从数据库读取AI模型配置,并提供回退到应用设置的功能
- 在DatabaseInitializer中添加ai_models表的建表脚本,确保表结构存在
- 更新Directory.Build.props以抑制EF1002和NU1605警告
- 为FileDbContext添加Settings实体集合和文件设置实体
- 优化FileDbContextDesignTimeFactory的配置文件查找逻辑,支持多种目录结构
- 修复EF迁移快照中的命名空间引用错误
- 为多个工作流和IM相关端点添加相应的权限验证
2026-07-03 12:49:39 +08:00

16 lines
771 B
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<Project>
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- 关闭 NuGet 漏洞审计:本仓库不依赖私有 NuGet 源(nuget.multiway-cloud.com),
关掉审计后 restore/build 不再访问该源取漏洞数据,避免 NU1900 触发。 -->
<NuGetAudit>false</NuGetAudit>
<NuGetAuditMode>none</NuGetAuditMode>
<!-- 漏洞告警统一抑制:NU1900(审计失败)、NU1902(中危)、NU1903(高危)
EF1002:ExecuteSqlRawAsync 对 Guid 字面量的 SQL 注入误报 -->
<NoWarn>$(NoWarn);NU1900;NU1902;NU1903;EF1002;NU1605</NoWarn>
</PropertyGroup>
</Project>