/** * 403 Forbidden Page * Displayed when users try to access resources they don't have permission for */ import type { Metadata } from 'next'; import { Link } from '@/lib/i18n/routing'; import { ShieldAlert } from 'lucide-react'; import { Button } from '@/components/ui/button'; import { generatePageMetadata, type Locale } from '@/lib/i18n/metadata'; import { getTranslations } from 'next-intl/server'; export async function generateMetadata({ params, }: { params: Promise<{ locale: string }>; }): Promise { const { locale } = await params; const t = await getTranslations({ locale, namespace: 'errors' }); return generatePageMetadata( locale as Locale, t('unauthorized'), t('unauthorizedDescription'), '/forbidden' ); } export default function ForbiddenPage() { return (

403 - Access Forbidden

You don't have permission to access this resource.

This page requires administrator privileges. If you believe you should have access, please contact your system administrator.

); }