Преглед изворни кода

Radicale: apply user rights limitations

Bastien Sevajol (Algoo) пре 8 година
родитељ
комит
ec8dcd9be7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      tracim/tracim/lib/radicale/storage.py

+ 1 - 1
tracim/tracim/lib/radicale/storage.py Прегледај датотеку

@@ -18,7 +18,7 @@ class Collection(BaseCollection):
18 18
     def __init__(self, path: str, principal: bool=False):
19 19
         super().__init__(path, principal)
20 20
         self._replacing = False  # See ``replacing`` context manager
21
-        self._manager = CalendarManager(None)
21
+        self._manager = CalendarManager(Auth.current_user)
22 22
 
23 23
     @contextmanager
24 24
     def replacing(self):