Mozillians magic for Discourse
Follow the Discourse Install a Plugin guide.
For a standard installation, once Discourse has launched, add groups for users to be placed in (these are all optional - if you don't add the group, users simply won't be placed in them):
mozillians
(for everybody on mozillians.org)mozillians_unvouched
(for unvouched users of mozillians.org)mozillians_vouched
(for vouched users of mozillians.org)
Then, navigate to /admin/site_settings/category/plugins
, setting:
mozillians_app_name
to the name of the app associated with your API key, andmozillians_app_key
to your API key,- before finally checking the
mozillians_enabled
checkbox.
You're all set! Now when users log in, they should be assigned to the groups you created based on their status on mozillians.org.