# 对员工成员也可以观看的词语

**URL:** <https://meta.discourse.org/t/watched-words-for-staff-members-too/81523>\
**Category:** Product Support\
**Created:** [2018 年2 月 26 日 09:27 UTC](https://meta.discourse.org/t/watched-words-for-staff-members-too/81523 "2018-02-26T09:27:47Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
发布日期： [2020 年8 月 19 日 18:45 UTC](https://meta.discourse.org/t/watched-words-for-staff-members-too/81523/4 "2020-08-19T18:45:54Z")

</div>

我正在寻找一种方法，让某个组对“受监控词”免疫，_而无需_将其成员设为管理员。

我在考虑是否可以：

1. 在 [discourse/app/models/watched\_word.rb at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/app/models/watched_word.rb#L16-L18) 中将 `self.word` 替换为 null 或空格。
2. 如果用户属于某个组，则让 `create_or_update_word` 方法立即返回（[discourse/app/models/watched\_word.rb at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/app/models/watched_word.rb#L37-L44%EF%BC%89%E3%80%82)

这两种方法中，是否有哪种看起来是允许某个组对受监控词免疫的合理方案？

---

_[View the full topic](https://meta.discourse.org/t/watched-words-for-staff-members-too/81523)._
