- Check if user is logged in and admin, OR if using valid API key - This allows API access with Bearer token authentication - Fixes 'Acesso negado' error for API key requests
- Check if user is logged in and admin, OR if using valid API key - This allows API access with Bearer token authentication - Fixes 'Acesso negado' error for API key requests