34d2a13080
- Move permission validation from AdminLayoutAppDirClient.tsx (client) to layout.tsx (server) - Add server-side redirect using next/navigation redirect() function - Remove client-side useEffect permission check to eliminate flash - Follow same pattern as organizations layout for consistent auth handling - Users without admin role are redirected to /settings/my-account/profile before any content renders Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>