Remove debug logging for permission checks in has_permission_ function

1 parent afb124b9
...@@ -692,7 +692,7 @@ BASE_CLASS = BaseApp() ...@@ -692,7 +692,7 @@ BASE_CLASS = BaseApp()
def has_permission_(request, perm_names, context=None): def has_permission_(request, perm_names, context=None):
_logging.debug(f"Has Permission: {perm_names} Context: {context}") # _logging.debug(f"Has Permission: {perm_names} Context: {context}")
if not perm_names: if not perm_names:
return True return True
if isinstance(perm_names, str): if isinstance(perm_names, str):
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!