Allow showing harvest objects by default (on the default auth profile)

This commit is contained in:
amercader 2012-08-09 13:37:28 +01:00
parent 4c562e5f5f
commit bb5ba43ebb
1 changed files with 1 additions and 4 deletions

View File

@ -42,9 +42,6 @@ def harvest_object_show(context,data_dict):
model = context['model'] model = context['model']
user = context.get('user') user = context.get('user')
if not Authorizer().is_sysadmin(user):
return {'success': False, 'msg': _('User %s not authorized to read this harvest object') % str(user)}
else:
return {'success': True} return {'success': True}
def harvest_object_list(context,data_dict): def harvest_object_list(context,data_dict):