Browse Source

Radicale: apply user rights limitations

Bastien Sevajol (Algoo) 8 years ago
parent
commit
ec8dcd9be7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tracim/tracim/lib/radicale/storage.py

+ 1 - 1
tracim/tracim/lib/radicale/storage.py View File

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