Merge pull request #4265 from emanuelschuetze/login
Fixed login problem for non admin users.
This commit is contained in:
commit
83d9dbed9e
@ -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():
|
||||
|
@ -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"],))
|
||||
|
Loading…
Reference in New Issue
Block a user