This commit is contained in:
Guillaume Ayoub
2015-12-31 12:49:41 +01:00
parent 95fe2b6824
commit e7ce00d54f
6 changed files with 53 additions and 36 deletions

View File

@ -23,6 +23,7 @@ This module loads the rights backend, according to the rights
configuration.
"""
import sys
from .. import config
@ -43,7 +44,9 @@ def load():
def authorized(user, collection, right):
""" Check when user has rights on collection
This method is overriden when appropriate rights backend loaded.
"""Check that an user has rights on a collection.
This method is overriden when the appropriate rights backend is loaded.
"""
raise NotImplementedError()