Revert changes in __init__
This commit is contained in:
parent
af285e5db9
commit
78e52d5cf4
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user