Improve documentation

This commit is contained in:
Unrud
2020-01-13 15:51:10 +01:00
parent 3d7757fa38
commit 2e4924a0da
6 changed files with 29 additions and 1 deletions

View File

@ -59,6 +59,13 @@ def intersect_permissions(a, b="RrWw"):
class BaseRights:
def __init__(self, configuration):
"""Initialize BaseRights.
``configuration`` see ``radicale.config`` module.
The ``configuration`` must not change during the lifetime of
this object, it is kept as an internal reference.
"""
self.configuration = configuration
def authorized(self, user, path, permissions):