Added permission check to DELETE of nodes.

This commit is contained in:
2017-07-13 17:08:43 +02:00
parent 8a8f654657
commit bd13d89817
3 changed files with 45 additions and 1 deletions

View File

@@ -80,7 +80,7 @@ def config_login_manager(app):
return login_manager
def login_user(oauth_token, *, load_from_db=False):
def login_user(oauth_token: str, *, load_from_db=False):
"""Log in the user identified by the given token."""
if load_from_db: