From ec45880deae023a17aff102f76323e356424c689 Mon Sep 17 00:00:00 2001 From: Tanshu Date: Thu, 16 May 2013 14:55:07 +0530 Subject: [PATCH] Forgot to add to user_list view. Fixed --- brewman/brewman/views/auth/user.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/brewman/brewman/views/auth/user.py b/brewman/brewman/views/auth/user.py index 2c9a9650..fbd1700e 100644 --- a/brewman/brewman/views/auth/user.py +++ b/brewman/brewman/views/auth/user.py @@ -85,9 +85,7 @@ def show_blank(request): return user_info(None) -# @view_config(request_method='GET', route_name='api_user', renderer='json', request_param='list', permission='Users') -# for import -@view_config(request_method='GET', route_name='api_user', renderer='json', request_param='list') +@view_config(request_method='GET', route_name='api_user', renderer='json', request_param='list', permission='Users') def show_list(request): list = User.list() users = []