def _activity_stream_get_filtered_users():
 users = config.get('ckan.hide_activity_from_users')
 if users:
  users_list = users.split()
 else:
  context = {'model': model, 'ignore_auth': True}
  site_user = logic.get_action('get_site_user')(context)
  users_list = [site_user.get('name')]
 return model.User.user_ids_for_name_or_id(users_list)

def _activity_stream_get_filtered_users ( ) : users = config . get ( 'ckan.hide_activity_from_users' ) if users : users_list = users . split ( ) else : context = { 'model' : model , 'ignore_auth' : True } site_user = logic . get_action ( 'get_site_user' ) ( context ) users_list = [ site_user . get ( 'name' ) ] return model . User . user_ids_for_name_or_id ( users_list )
get the list of users from the :ref:ckan .