- Redesign the Identity module with a richer domain model. - Extend the User entity to support username, Authentik integration, activity tracking, and storage information. - Add Role and Permission domain models with many-to-many relationships. - Implement RBAC foundation using UserRole, RolePermission, and UserPermission mappings. - Add user storage quota and usage fields with default values. - Introduce Authentik identifiers and synchronization metadata. - Refactor user domain logic for role and permission management. - Update Prisma schema to support the new identity architecture. - Improve JWT authentication and permission guard integration. - Update repositories, handlers, controllers, mappers, DTOs, and Swagger configuration. - Refresh environment configuration and project dependencies.
338 B
338 B
Playwright API Testing for RayLab Core
Structure:
- helpers: auth/request helpers
- fixtures: reusable data helpers
- api: per-controller tests
- reporter: custom reporter writing tests/output/latest-result.txt
Run: npx playwright test
Ensure .env is configured with BASE_URL and identity provider (Authentik or compatible) details.