Impersonation Logs

User Impersonation Activity

{{ $logs->total() ?? 0 }} total records
{{ $item->impersonator->name }}
({{ $item->impersonator->roles->first()->name ?? 'Unknown' }})
{{ $item->impersonatedUser->name }}
({{ $item->impersonatedUser->roles->first()->name ?? 'Unknown' }})
{{ $item->started_at->format('M j, Y') }}
{{ $item->started_at->format('g:i A') }}
@if($item->ended_at)
{{ $item->ended_at->format('M j, Y') }}
{{ $item->ended_at->format('g:i A') }}
@else Still active @endif
@php $statusColors = [ 'active' => 'success', 'ended' => 'neutral', 'expired' => 'warning', 'terminated' => 'error' ]; $color = $statusColors[$item->status] ?? 'neutral'; @endphp {{ ucfirst($item->status) }} @if($item->reason)
{{ $item->reason }}
@else No reason provided @endif
{{ $item->ip_address }}
@if($item->status === 'active') @endif
@push('scripts') @endpush