Commit 17a7d335 authored by Roque's avatar Roque Committed by Matevz Golob

erp5_hal_json_style: remove hardcoded parameter restricted on render form method

parent aa1f29de
...@@ -911,7 +911,7 @@ def renderForm(traversed_document, form, response_dict, key_prefix=None, selecti ...@@ -911,7 +911,7 @@ def renderForm(traversed_document, form, response_dict, key_prefix=None, selecti
is_site_root=False, is_site_root=False,
is_portal=False, is_portal=False,
mode='traverse', mode='traverse',
restricted=1, restricted=restricted,
view='view' view='view'
) )
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment