def _list_users(source=None):
 if acl.get_limited_to_project(flask.request.headers):
  users = [flask.request.headers.get('X-User-id')]
 else:
  users = flask.request.storage_conn.get_users(source=source)
 return flask.jsonify(users=list(users))

def _list_users ( source = None ) : if acl . get_limited_to_project ( flask . request . headers ) : users = [ flask . request . headers . get ( 'X-User-id' ) ] else : users = flask . request . storage_conn . get_users ( source = source ) return flask . jsonify ( users = list ( users ) )
return a list of user names .