/** * SCREEN-AUTH-002: Role Authorization & Access Denial View. * * Fulfills FR-AUTH-002 & SCREEN-AUTH-002.md (rebaselined under CR-002). * Styled per DESIGN.md: AgriTrade Mercantile (Tactile Corporate Minimalism). */ import React from 'react'; import { authStore } from '../../stores/authStore'; import { Button } from '../../components/ui/Button'; import { ShieldAlert, ArrowLeft, LogOut } from 'lucide-react'; export const AccessDeniedView: React.FC = () => { const user = authStore.getState().user; return (
Security policy prevents access to this screen or business action under your active role claims.