Add Fortify auth, Flux dark mode, demo seed, and Docker hot reload.

Protect recordings per user, seed a demo login on container start, and bind-mount the app with Vite HMR for local Compose development.
This commit is contained in:
ben
2026-08-12 18:38:53 +02:00
parent accb721811
commit bfcfc12f58
78 changed files with 3942 additions and 186 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ class StoreRecordingRequest extends FormRequest
public function authorize(): bool
{
return true;
return $this->user() !== null;
}
/**
@@ -8,7 +8,9 @@ class TranscribeRecordingRequest extends FormRequest
{
public function authorize(): bool
{
return true;
$recording = $this->route('recording');
return $recording !== null && $this->user()?->can('transcribe', $recording) === true;
}
/**