Discourse gem group_add

Feel free to make PRs to fix/improve the discourse_api gem :wink:

The Discourse API is designed around the UI. It happens that admins

  • often add users to a group via their username (hence the add_members method which requires a list of usernames)
  • rarely remove users from a group and do so by clicking the :x: button next to the user (hence the remove_member method which requires a user_id)

Again, feel free to make PRs to update the Discourse API if you want to:

  • add the add_member / remove_members methods
  • allow either of these methods to take a username or a user_id as parameter.