lernschiff/app/Http/Middleware
Boban Blaskovic 6de4131389 feat(license): EnsureActiveLicense full implementation + license/dashboard routes
- EnsureActiveLicense: full child-role check via licenseAssignments().isActive()
- License model: add isActive() method, fix fillable order, expires_at cast to date
- LicenseFactory: active/expired/inactive states
- routes/web.php: /dashboard with auth+license middleware, /lizenz-abgelaufen
- tests: EnsureActiveLicenseTest (3 tests — block/allow/teacher bypass)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 05:16:06 +02:00
..
EnsureActiveLicense.php feat(license): EnsureActiveLicense full implementation + license/dashboard routes 2026-05-22 05:16:06 +02:00
HasRole.php feat(auth): HasRole middleware with OR-semantics 2026-05-22 01:41:10 +02:00