Watched words for staff members too

Hi,

Is there any way to check staff for inappropriate words during posting? I tried Watched Words option, but it works only for non-staff. As I understand, it works as designed.

I would like to avoid staff members use some phrases, for instance, they need to check themselves the URL published (external must be):
NOT OK: The issue has been added: https://internal.domain.com/B-123
OK: The issue has been added: https://external.domain.com/B-123

How to achieve this?

I think you would need a custom plugin to place this kind of restriction on staff. They get a free pass with watched words.

Thank you, @sam!

The best solution I think is to work staff as normal users but with a sudo button to be able temporary granted as moderators or admins when they need :slight_smile:.

Reasons: 1) most of the time staff does the same things like normal users, 2) staff should understand what options of the forum regular users can use - sometimes staff members have the second user profile, but I don’t like this.

Я ищу способ предоставить группе иммунитет к отслеживаемым словам без присвоения им статуса сотрудников.

Я думал, что могу:

  1. заменить self.word на null или пробелы в discourse/app/models/watched_word.rb at main · discourse/discourse · GitHub
  2. заставить create_or_update_word возвращаться сразу, если пользователь является членом группы (discourse/app/models/watched_word.rb at main · discourse/discourse · GitHub)

Кажется ли какой-либо из этих подходов разумным способом разрешить группе быть невосприимчивой к отслеживаемым словам?

Я тоже мог бы использовать это для нового сообщества, которое создаю. Буду следить за решением здесь.