From a6392b5ba64e5fa91fffeefc28e0974a028a3dda Mon Sep 17 00:00:00 2001 From: Sean Hammond Date: Tue, 20 Nov 2012 15:12:33 +0100 Subject: [PATCH] Add a FIXME for an unhandled case --- ckan/logic/auth/get.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ckan/logic/auth/get.py b/ckan/logic/auth/get.py index 51174f89b26..4058c70b9ca 100644 --- a/ckan/logic/auth/get.py +++ b/ckan/logic/auth/get.py @@ -192,6 +192,8 @@ def get_site_user(context, data_dict): def dashboard_activity_list(context, data_dict): + # FIXME: context['user'] could be an IP address but that case is not + # handled here. Maybe add an auth helper function like is_logged_in(). if context.get('user'): return {'success': True} else: