@extends('layouts.app') @section('title', 'Permission Denied') @push('styles') @endpush @section('content')

You don't have access to this page

Your role doesn't include the permission needed to see {{ session('denied_label') ?? 'this page' }}. Ask your business owner to grant it from Roles & Permissions.

@if(session('denied_permission'))
Required permission{{ session('denied_permission') }}
@if(session('denied_path'))
Page you tried/{{ session('denied_path') }}
@endif @if($currentStaff)
Your role{{ optional($currentStaff->role)->name ?? ucfirst($currentStaff->role ?? 'staff') }}
@endif
@endif
Go to dashboard Go back

If you think this is a mistake, contact the business owner or administrator.

@endsection