Guillaume Ayoub 15 лет назад
Родитель
Сommit
78e52d5cf4
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      radicale/__init__.py

+ 1 - 0
radicale/__init__.py

@@ -56,6 +56,7 @@ VERSION = "git"
 
 
 def _check(request, function):
 def _check(request, function):
     """Check if user has sufficient rights for performing ``request``."""
     """Check if user has sufficient rights for performing ``request``."""
+    # If we have no calendar or no acl, don't check rights
     if not request._calendar or not request.server.acl:
     if not request._calendar or not request.server.acl:
         return function(request)
         return function(request)