{{-- resources/views/errors/403.blade.php --}} @php $app = config('app.name', 'RD Inventory'); $u = auth()->user(); $isDistrict = $u?->isDistrictUser() ?? false; $isStation = $u?->isStationUser() ?? false; $scope = $isDistrict ? 'Bezirksstelle' : ($isStation ? 'Ortstelle' : '—'); $stationName = $isStation && $u?->station ? $u->station->name : null; $msg = $exception?->getMessage(); $msg = is_string($msg) && trim($msg) !== '' ? trim($msg) : 'Diese Aktion ist nicht erlaubt.'; @endphp 403 · Zugriff verweigert · {{ $app }} @vite(['resources/css/app.css', 'resources/js/app.js'])
{{-- Topbar (lightweight) --}}
{{ $app }}
{{ $scope }} @if ($stationName) · {{ $stationName }} @endif
{{-- Main card --}}
403

Zugriff verweigert

{{ $msg }}

unauthorized
Was du tun kannst
Prüfe, ob du die passende Rolle/Rechte hast (z.B. Bezirksstelle vs. Ortstelle).
Wenn du sicher bist, dass du Zugriff brauchst: Rechte zuweisen lassen (Security → Rollen/Rechte).
Manchmal hilft ein erneuter Login (z.B. nach Rechte-Änderungen).
Zur Übersicht @if ($u)
@csrf
@endif
Zeit: {{ now()->format('d.m.Y H:i:s') }} · Pfad: {{ request()->path() }}
{{-- Side panel --}}