A plugin to enable automatic subscription to categories based on group membership
This plugin doesn't currently have a UI, interactions must be carried out using
A category can be added with
GroupCategoryNotification.add(group, category), and removed with
Added categories will be automatically watched by all current and future members of that group. A user can still go and set their notification level on that category to something different, and the plugin won't override it.
If a category is removed all users in that group watching the category will have their notification level set to regular on their categories, regardless of their preference.
If a group is removed, all users in that group will have their notification level on previously added categories set to regular, regardless of their preference.
Bug reports should be filed by following the process described here.
Clone this plugin into
plugins/discourse-group-category-notification in the root of your Discourse source dir.
RAILS_ENV=test rake plugin:spec[discourse-group-category-notification] to run the tests.