Mots surveillés pour les membres du personnel également

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.

Je cherche un moyen de rendre un groupe immunisé contre les mots surveillés sans en faire du personnel.

Je pensais peut-être :

  1. Remplacer self.word par null ou des espaces dans discourse/app/models/watched_word.rb at main · discourse/discourse · GitHub
  2. Faire en sorte que create_or_update_word retourne immédiatement si l’utilisateur est membre du groupe (discourse/app/models/watched_word.rb at main · discourse/discourse · GitHub)

L’une de ces approches vous semble-t-elle raisonnable pour permettre à un groupe d’être immunisé contre les mots surveillés ?

Je pourrais aussi l’utiliser pour une nouvelle communauté que je suis en train de construire. Je vais absolument surveiller les solutions ici.