Fix a read/write mismatch in from_file rights manager
This commit is contained in:
parent
dd7f886fcc
commit
45e844cda2
@ -85,7 +85,7 @@ def write_authorized(user, collection):
|
||||
"""Check if the user is allowed to write the collection."""
|
||||
if user is None:
|
||||
return False
|
||||
elif owner_only.read_authorized(user, collection):
|
||||
elif owner_only.write_authorized(user, collection):
|
||||
return True
|
||||
else:
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user