diff --git a/apps/permission/backends.py b/apps/permission/backends.py index 7883b427..40bfb085 100644 --- a/apps/permission/backends.py +++ b/apps/permission/backends.py @@ -127,7 +127,7 @@ class PermissionBackend(ModelBackend): user = request.user if user is None or user.is_anonymous: - # Anonymous users can't do asetdefaultnything + # Anonymous users can't do anything return Q(pk=-1) if user.is_superuser and request.session.get("permission_mask", -1) >= 42: