Set calendars always personal with authentication activated

This commit is contained in:
Guillaume Ayoub
2011-05-17 00:10:36 +02:00
parent 7c0e9686a8
commit ca9c148705
5 changed files with 3 additions and 12 deletions

View File

@@ -169,9 +169,6 @@ class Application(object):
if not calendar or not self.acl:
# No calendar or no acl, don't check rights
status, headers, answer = function(environ, calendar, content)
elif calendar.owner is None and config.getboolean("acl", "personal"):
# No owner and personal calendars, don't check rights
status, headers, answer = function(environ, calendar, content)
else:
# Ask authentication backend to check rights
log.LOGGER.info(