Allow showing harvest objects by default (on the default auth profile)
This commit is contained in:
parent
4c562e5f5f
commit
bb5ba43ebb
|
@ -42,9 +42,6 @@ def harvest_object_show(context,data_dict):
|
|||
model = context['model']
|
||||
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}
|
||||
|
||||
def harvest_object_list(context,data_dict):
|
||||
|
|
Loading…
Reference in New Issue