From 45e844cda2d24137037d768e79041ccfb113a48d Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Wed, 15 May 2013 22:29:40 +0200 Subject: [PATCH] Fix a read/write mismatch in from_file rights manager --- radicale/rights/from_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: