mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Using collection's URL for logging instead of its name
This commit is contained in:
parent
e3bc6afdd3
commit
bc0b74c555
1 changed files with 2 additions and 2 deletions
|
@ -225,12 +225,12 @@ class Application(object):
|
|||
if rights.read_authorized(user, item) or \
|
||||
rights.write_authorized(user, item):
|
||||
log.LOGGER.info("%s has access to collection %s" % (
|
||||
user, item.name or "/"))
|
||||
user, item.url or "/"))
|
||||
last_collection_allowed = True
|
||||
allowed_items.append(item)
|
||||
else:
|
||||
log.LOGGER.info("%s has NO access to collection %s" % (
|
||||
user, item.name or "/"))
|
||||
user, item.url or "/"))
|
||||
last_collection_allowed = False
|
||||
else:
|
||||
# item is not a collection, it's the child of the last
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue