Implement hiding the graph and move elements out of boxes
This commit is contained in:
@@ -118,9 +118,7 @@ def obfuscate_list(user, data):
|
||||
Obfuscate data in a list of dictionaries.
|
||||
"""
|
||||
if user.has_perm("core.bypass_obfuscation"):
|
||||
print("USER HAS PERM")
|
||||
return
|
||||
print("NO HAVE PERM")
|
||||
for index, item in enumerate(data):
|
||||
for key, value in item.items():
|
||||
# Obfuscate a ratio of the field
|
||||
|
||||
Reference in New Issue
Block a user