diff --git a/frappe/permissions.py b/frappe/permissions.py index 54cfbf4c1a..04549744d3 100644 --- a/frappe/permissions.py +++ b/frappe/permissions.py @@ -49,7 +49,7 @@ def print_has_permission_check_logs(func): result = func(*args, **kwargs) # print only if access denied - # and if user is checking his own permission + # and if user is checking their own permission if not result and self_perm_check and print_logs: msgprint(("
").join(frappe.flags.get("has_permission_check_logs", [])))