@extends('admin.layouts.app') @section('title', 'Pending Permission Requests') @section('content')
{{-- Page header --}}

Pending Permission Requests

Training mode: Review and approve permission requests

@if($entity)
Filtered by: {{ $entity->name }}
@endif
{{-- Entity filter --}}
All Entities @foreach($entities as $ent) {{ $ent->path }} - {{ $ent->name }} @endforeach
{{-- Requests table --}}
@if($requests->isEmpty())

No pending requests

All permission requests have been processed.

@else
@csrf
@foreach($requests as $index => $request) @endforeach
Entity Action Route Time Allow Deny
{{ $request->entity?->name ?? 'Unknown' }}
{{ $request->entity?->path }}
{{ $request->action }} @if($request->scope) ({{ $request->scope }}) @endif {{ $request->method }} {{ Str::limit($request->route, 40) }} {{ $request->created_at->diffForHumans() }}
Submit Training Decisions
@endif
@endsection