diff --git a/radicale/rights/from_file.py b/radicale/rights/from_file.py index 02c38218..4f01a87f 100644 --- a/radicale/rights/from_file.py +++ b/radicale/rights/from_file.py @@ -85,7 +85,7 @@ def write_authorized(user, collection): """Check if the user is allowed to write the collection.""" if user is None: return False - elif owner_only.read_authorized(user, collection): + elif owner_only.write_authorized(user, collection): return True else: try: