mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-15 20:36:55 +00:00
Revert changes in __init__
This commit is contained in:
parent
af285e5db9
commit
78e52d5cf4
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue