Backend de erp-core - Workspace V2
Phase 2 of RBAC propagation - migrates 18 route files to use hybrid requireAccess() middleware for permission-based authorization: P1 Routes (auth/billing): - users.routes.ts (11 occurrences) - roles.routes.ts (11 occurrences) - permissions.routes.ts (8 occurrences) - invoices.routes.ts (9 occurrences) - financial.routes.ts (42 occurrences) P2 Routes (business): - partners.routes.ts (16 occurrences) - sales.routes.ts (32 occurrences) - purchases.routes.ts (21 occurrences) P3 Routes (operations): - inventory.routes.ts (28 occurrences) - hr.routes.ts (28 occurrences) - crm.routes.ts (23 occurrences) - core.routes.ts (21 occurrences) - tenants.routes.ts (12 occurrences) - companies.routes.ts (9 occurrences) - warehouses.routes.ts (6 occurrences) - products.routes.ts (6 occurrences) - projects.routes.ts (6 occurrences) - system.routes.ts (2 occurrences) Total: ~271 route protections migrated to permission-based access Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| src | ||
| .env.example | ||
| .gitignore | ||
| Dockerfile | ||
| jest.config.js | ||
| package-lock.json | ||
| package.json | ||
| service.descriptor.yml | ||
| tsconfig.json | ||
| TYPEORM_DEPENDENCIES.md | ||
| TYPEORM_INTEGRATION_SUMMARY.md | ||
| TYPEORM_USAGE_EXAMPLES.md | ||