def list_all_users_permissions(self):
    """ Queries the UserAppServer and returns a list of all the users and the
      permissions they have in the system.

    Returns:
      A list of dicts, where each dict contains the e-mail address and
      authorizations that this user is granted in this AppScale deployment.
    """
    ret_list = []
    try:
      all_users_list = self.list_all_users()
      perm_items = self.get_all_permission_items()
      for user in all_users_list:
        usr_cap = {'email' : user}
        caps_list = self.get_user_capabilities(user)
        for perm in perm_items:
          if caps_list in perm:
            usr_cap[perm] = True
          else:
            usr_cap[perm] = False
        ret_list.append(usr_cap)
    except Exception as err:
      logging.exception(err)
    return ret_list
dataset/ETHPy150Open AppScale/appscale/AppDashboard/lib/app_dashboard_helper.py/AppDashboardHelper.list_all_users_permissions/swapped operands of `in`