Explorar el Código

Radicale: apply user rights limitations

Bastien Sevajol (Algoo) hace 8 años
padre
commit
ec8dcd9be7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tracim/tracim/lib/radicale/storage.py

+ 1 - 1
tracim/tracim/lib/radicale/storage.py Ver fichero

@@ -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):