Fixed login problem for non admin users.

This commit is contained in:
Emanuel Schütze 2019-02-05 20:50:22 +01:00
parent 7e95899353
commit 722a40779d
2 changed files with 2 additions and 2 deletions

View File

@ -185,7 +185,7 @@ def required_users(element: Dict[str, Any]) -> Set[int]:
"""
Returns all user ids that are displayed as chatters.
"""
return set(element["user_id"])
return set((element["user_id"],))
def startup():

View File

@ -51,4 +51,4 @@ def required_users(element: Dict[str, Any]) -> Set[int]:
if request_user can see mediafiles. This function may return an empty
set.
"""
return set(element["uploader_id"])
return set((element["uploader_id"],))