FEATURE: Webhooks and Event for user being granted a badge (PR #9392)

Adding a webhook for badge revocation is left for future work as it’s relatively rare.

The webhook type is named ‘user_badge’ instead of ‘badge’ just in case we want to add hooks for modifying badge properties in the future, I guess…?

GitHub

1 Like

I’m fairly sure this is something like a 4*N query count on badge grant jobs, but I’m not sure how to do any better. Moving the UserBadge.find_by into the DEvent.trigger doesn’t exactly help, at all.

Plugin tests are hanging in “Create Database”, odd…

Plugin specs passed locally, merging.