Automatically add/remove users to/from a group based on badge id?

Would really be great if this becomes a core feature since plugins seem pretty fragile with updates!

Until then, I’m thinking of maybe doing this via the api - have a script query a badge_id (/user_badges.json?badge_id=XX) every few days and grant/remove users from the group (PUT/DELETE the user(s) on /admin/groups/XX/members.json)…

2 Likes