diff --git a/src/Backend/SolutionErp.Infrastructure/Persistence/DbInitializer.cs b/src/Backend/SolutionErp.Infrastructure/Persistence/DbInitializer.cs index 71236db..1038548 100644 --- a/src/Backend/SolutionErp.Infrastructure/Persistence/DbInitializer.cs +++ b/src/Backend/SolutionErp.Infrastructure/Persistence/DbInitializer.cs @@ -1258,6 +1258,13 @@ public static class DbInitializer // CEO — Tổng Giám đốc (1 user, dept BOD) ("truong.nguyen@solutions.com.vn", "Nguyễn Văn Trường", "BOD", "Tổng Giám đốc (CEO)", new[] { AppRoles.Director }), + + // [Plan CA S29 2026-05-22] Demo user role CatalogManager — quản lý + // danh mục dùng chung (Suppliers/Projects/Departments/Catalogs) + // ở fe-user/eoffice. Admin có thể tạo thêm user gán role này qua + // /system/users + /system/permissions. Dept PRO (Cung ứng) — vai trò + // thường xuyên cập nhật NCC/vật tư/dịch vụ. + ("catalog.manager@solutions.com.vn", "NV Quản lý Danh mục", "PRO", "Nhân viên Quản lý Danh mục Dùng chung", new[] { AppRoles.CatalogManager }), }; int created = 0, fixedExisting = 0, failed = 0;