Backend de erp-core - Workspace V2
Phase 4 testing implementation: - rbac.middleware.test.ts: Tests for requirePerm, requireAnyPerm, requireAllPerms, requireAccess, requirePermOrOwner - permission-cache.service.test.ts: Tests for cache operations, Redis unavailable fallback, tenant-wide invalidation Test scenarios covered: - User with/without permission (403) - Super admin bypass - Cache hit/miss - Redis unavailable fallback - Hybrid access control (role + permission) - Owner-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 | ||