瀏覽代碼

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