Log "nobody" instead of "None" as anonymous calendars owner.
This commit is contained in:
parent
abb70cef49
commit
3149643706
@ -184,7 +184,8 @@ class Application(object):
|
|||||||
calendars.append(calendar)
|
calendars.append(calendar)
|
||||||
continue
|
continue
|
||||||
log.LOGGER.info(
|
log.LOGGER.info(
|
||||||
"Checking rights for calendar owned by %s" % calendar.owner)
|
"Checking rights for calendar owned by %s" % (
|
||||||
|
calendar.owner or "nobody"))
|
||||||
|
|
||||||
if self.acl.has_right(calendar.owner, user, password):
|
if self.acl.has_right(calendar.owner, user, password):
|
||||||
log.LOGGER.info("%s allowed" % (user or "anonymous user"))
|
log.LOGGER.info("%s allowed" % (user or "anonymous user"))
|
||||||
|
Loading…
Reference in New Issue
Block a user