mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-04 18:22:26 +00:00
Fix a lot of details
This commit is contained in:
parent
406027f3c9
commit
e586569b31
4 changed files with 29 additions and 10 deletions
|
@ -127,7 +127,7 @@ def authorized(user, collection, permission):
|
|||
If the user is empty, check for anonymous rights.
|
||||
|
||||
"""
|
||||
collection_url = collection.url.rstrip("/") or "/"
|
||||
collection_url = collection.path.rstrip("/") or "/"
|
||||
if collection_url in (".well-known/carddav", ".well-known/caldav"):
|
||||
return permission == "r"
|
||||
rights_type = config.get("rights", "type").lower()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue