From 78e52d5cf4387255795ca87e08ac72e61c870761 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Mon, 25 Apr 2011 13:35:17 +0200 Subject: [PATCH] Revert changes in __init__ --- radicale/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/radicale/__init__.py b/radicale/__init__.py index 1a7afbc..c8a0794 100644 --- a/radicale/__init__.py +++ b/radicale/__init__.py @@ -56,6 +56,7 @@ VERSION = "git" def _check(request, function): """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: return function(request)