Access Denied
You don't have permission to access this resource. Your access attempt has been logged for security purposes.
@if(session('unauthorized_data'))
@php
$data = session('unauthorized_data');
@endphp
Role Information
Your Current Role:
{{ $data['user_role'] ?? 'No Role Assigned' }}
Required Roles for this Resource:
@if(isset($data['required_roles']) && is_array($data['required_roles']))
@foreach($data['required_roles'] as $role)
{{ $role }}
@endforeach
@else
N/A
@endif
Attempted Resource: {{ $data['attempted_route'] ?? 'Unknown' }}
@if(isset($data['attempted_url']))
URL: {{ $data['attempted_url'] }}
@endif
@endif
Security Notice: This access attempt has been logged and administrators have been notified.
Repeated unauthorized access attempts may result in account restrictions.
If you believe this is an error, please contact your system administrator.
Timestamp: {{ now()->format('d/m/Y H:i:s T') }}