# Make members of a group watch a category by default

**URL:** https://meta.discourse.org/t/make-members-of-a-group-watch-a-category-by-default/22127
**Category:** Feature
**Tags:** completed
**Created:** [2014年十一月13日 08:27 UTC](https://meta.discourse.org/t/make-members-of-a-group-watch-a-category-by-default/22127 "2014-11-13T08:27:01Z")
**Posts on this page:** 1
**Showing post:** 20

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [2015年六月19日 23:01 UTC](https://meta.discourse.org/t/make-members-of-a-group-watch-a-category-by-default/22127/20 "2015-06-19T23:01:21Z")

</div>

> [@pacharanero](#):
>
> I bulk modified eveyone’s Watching status in the Rails console:
> 
> my-local-machine ~$ ssh discourse-server  
> discourse-server ~# cd /var/discourse  
> discourse-server /var/discourse# ./launcher ssh app  
> discourse-app ~# rails c
> 
> [1] pry(main)\> Category.where(name: “CCIO Leaders Network”) #find out the id of the category we want everyone to watch. A Category object will be returned, with the id: as the first attribute  
> [2] pry(main)\> User.all.each { |u| CategoryUser.batch\_set(u,:watching,5); u.save } #in my case the Category had the id 5 so I put this as the last parameter

This isn’t an option on hosted. Is adding group-watch defaults a part of

> [@Discourse Version 1.4](https://meta.discourse.org/t/discourse-version-1-4/26488/1):
>
> Allow global admin override of any user preference

?

---

_[View the full topic](https://meta.discourse.org/t/make-members-of-a-group-watch-a-category-by-default/22127)._
