Can't adjust mention settings for automatic "everyone" group


(Michael Downey) #7

So to answer the request that @codinghorror often refers to MailChimp, if we want to send a message to every user, an admin just creates a PM to the trust_level_0 group?


(Dean Taylor) #8

I mentioned this elsewhere:


(Ellie M) #9

Just to “piggy back” on this topic. Today I realized that any new user (even trust level 0) can easily @mention “everyone” group. Which isn’t something too wise to leave enabled.

After going to the admin panel and selecting “Only Moderators and Admins” can message and mention this group, this is the error I keep getting…

Can this be fixed somehow?
P.s. Not super important but it would be great to opt out some users from ever being found on the mention list. One of the most obvious examples would be the “system” user.


(Ellie M) #10

Did you by any chance find a fix to this, @downey or @DeanMarkTaylor?

We’ve had two cases now where user level 0 and level 1 bothered the whole community by @mentioning “everyone” group. It surely needs to be hidden from anyone, apart from admins and mods perhaps.

@sam you mentioned “everyone should be hidden from that UI” Any suggestions how? Or is this still an existing bug?


(Jeff Atwood) #11

This is not possible on a default Discourse install:

So you must have modified default settings to make that mention possible.


(Ellie M) #12

Thanks @codinghorror, I’ll take a look at the settings. I don’t think I changed anything though. Also, I just tried it here on Discourse meta, and I can mention everyone without a problem. (Screenshot below)


(Jeff Atwood) #13

It is visible, as you can see in the screenshot the “visible to all users” is checked (@sam do we need this to be visible to all users by default? That seems weird), but typing it won’t do anything. Try it yourself if you don’t believe me.

Regardless we’ll double check this and get back.


(Ellie M) #14

Ok, I was able to select it, and on the preview it shows as a legit @mention of “Everyone” group. I won’t dare to hit the post button for obvious reasons.

I’ll just have to try a fresh install with out of the box settings and see if I can still replicate.

Btw my current settings also say “Nobody” can mention it.


(Ellie M) #15

Hey @codinghorror and @sam, Just replicated the same problem on a fresh install as well as on Discourse test forum here: https://try.discourse.org/t/testing-the-mentions/482

In the end, any brand new (even trust level 0) user can start interrupting and bothering everyone who’s ever (Evn logged out) joined the particular forum.


(Sam Saffron) #16

Fwiw I did not get mentioned on try

Will investigate this Monday


(Sam Saffron) #17

Typing @everyone does not mention @everyone on the site, the bug reported here is that if people want to make it a legit mention target (so it spams 100s or even 100s of thousands of users) then they can not do so.

I can amend the defaults here, but it would be a bit weird to kill the visible @everyone page and keep the @trust_level_0 one around.


(Jeff Atwood) #18

Where is this “everyone” page?


(Sam Saffron) #19

aha… that page is broken …

https://meta.discourse.org/groups/everyone

I guess tl0 works

https://meta.discourse.org/groups/trust_level_0

Will remove the visible flag from everyone


(Jeff Atwood) #20

Why was it ever visible and type-able, this makes absolutely zero sense to me.


(Sam Saffron) #21

Because it was initialized here:

  unless group = self.lookup_group(name)
      group = Group.new(name: name.to_s, automatic: true)
      group.id = id
      group.save!
    end

and it had no special case for everyone


(Jeff Atwood) #22

Anyways @elliem reported it actually notifies everyone, is that the case?


(Sam Saffron) #23

It does not … typing @everyone does not notify @everyone on the site.


(Jeff Atwood) #24

Ok then as long as it can’t be typed that should stop the confusion. Closing this.


(Jeff Atwood) closed #25

(Sam Saffron) #26

The OP here is fixed:

everyone is no longer visible anywhere in the UI, it is used internally only.

@trust_level_0 though is a group of all active users on the site, so if you are itching to spam everyone you can aduge the mention settings there.