Commit 6727f690 authored by HERBERT Ryan's avatar HERBERT Ryan
Browse files

log.py log anon permission check

Removed a permission check on patient logging which was not only
redundant but also introduced a bug
parent 987b107f
......@@ -7,7 +7,6 @@ if request.env.http_origin:
def anon_names(data):
for row in data:
if not auth.can_view_patient_info(row.id):
row.name = vidjil_utils.anon_ids(row.id)
return data
......
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