Don't check the file twice for rights
This commit is contained in:
parent
586773148e
commit
d1379e349a
@ -37,9 +37,7 @@ except ImportError:
|
||||
# pylint: enable=F0401
|
||||
|
||||
|
||||
FILENAME = (
|
||||
os.path.expanduser(config.get("rights", "file")) or
|
||||
log.LOGGER.error("No file name configured for rights type 'regex'"))
|
||||
FILENAME = os.path.expanduser(config.get("rights", "file"))
|
||||
DEFINED_RIGHTS = {
|
||||
"none": "[rw]\nuser:.*\ncollection:.*\npermission:rw",
|
||||
"owner_write": "[r]\nuser:.*\ncollection:.*\npermission:r\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user