Commit ddd5cf28 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team
Browse files, anonymization: displays patient id for admins

parent 8288df77
......@@ -54,4 +54,8 @@ def anon(patient_id, user_id):
ln = last_name
name = ln[:3]
# Admins also see the patient id
if auth.has_membership("admin"):
name += ' (%s)' % patient_id
return name
Supports Markdown
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