Fixed login problem for non admin users.
This commit is contained in:
parent
7e95899353
commit
722a40779d
@ -185,7 +185,7 @@ def required_users(element: Dict[str, Any]) -> Set[int]:
|
|||||||
"""
|
"""
|
||||||
Returns all user ids that are displayed as chatters.
|
Returns all user ids that are displayed as chatters.
|
||||||
"""
|
"""
|
||||||
return set(element["user_id"])
|
return set((element["user_id"],))
|
||||||
|
|
||||||
|
|
||||||
def startup():
|
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
|
if request_user can see mediafiles. This function may return an empty
|
||||||
set.
|
set.
|
||||||
"""
|
"""
|
||||||
return set(element["uploader_id"])
|
return set((element["uploader_id"],))
|
||||||
|
Loading…
Reference in New Issue
Block a user