Would it be possible to sync a ban/suspension via SSO? If this is too broad for SSO (which, tbh, it probably is) is there a different API that would make it fairly simple?
For Hummingbird.me, we often get people we have to suspend (and occasionally hellban) to protect our other users, but we have to currently do two separate bans: one for our own server and one for Discourse, which frequently results in desynchronized bans… And the occasional “oh shit I’m sorry dude I thought we unbanned you months ago!”, which is about as awkward as it gets.
Anyways, I’m in the process of switching us to SSO from our current hand-rolled (yuck!) system, and I noticed that there’s already support for
moderator syncing (huzzah!) and custom fields (awesome!) and avatars (yay!) but it doesn’t look like there’s any way to synchronize the bans from our service onto Discourse.
So I guess my questions are:
- Is this possible in SSO or via the API?
- Assuming the answer is is “no”, how hard would it be to add? Where should I look to start?