Die Aufzählung von Admins vs. Moderatoren auf /about ist verwirrend

Einige Benutzer sind sowohl Admins als auch Moderatoren. Andere sind nur Admins oder nur Moderatoren.

Wenn ein Benutzer die Seite /about besucht, sieht er unter „Unsere Admins" alle Admins, unabhängig davon, ob sie auch Moderatoren sind.

Manche Admins möchten möglicherweise keine Moderatoren sein. Sie unterstützen bei technischen Angelegenheiten und besitzen Admin-Rechte, möchten aber nicht die Verantwortung für die Moderation übernehmen (und wir möchten sie dort möglicherweise nicht einbeziehen).

How to hide admins from /about page - #7 by cpradio ist relevant, aber ich spreche hier nicht spezifisch davon, jemanden auszublenden. Es geht darum, herauszufinden, welche Admins auch Moderatoren sind.

Vielleicht könnten alle aufgeführten Personen unter „Mitarbeiter" zusammengefasst werden, und ein kleines Zeichen oder Abzeichen würde Admin und/oder Moderator kennzeichnen (beides für diejenigen anzeigen, die beides sind)?

Der eigentliche Punkt ist, es den Benutzern leicht zu machen, zu erkennen, an welche Personen sie sich wenden können, wenn sie einen Moderator benötigen (insbesondere für den unwahrscheinlichen Fall, dass sie Bedenken bezüglich Verstößen eines Moderators selbst haben und einen anderen Moderator kontaktieren möchten). Ich möchte nicht, dass ein Benutzer Admins kontaktiert, die solche Probleme nicht bearbeiten möchten…

4 „Gefällt mir“

I think you are making a fair point, but the problem is that the terms “moderator” and “admin” have a different (more technical) meaning in discourse. They simply refer to two levels of privileges: admins have all privileges and mods have limited privileges (only what they need to to their moderation job).

The discourse team will correct me if I’m wrong, but I can’t think of any easy way to achieve what you want by modifying the /about page.

However, what you could do is create new groups that correspond to your definition of admin and mod (or only mod) and direct people to that group’s membership list.

Actually, it doesn’t matter that admins have 100% of the power that mods have, they are separate groups. I can see as an admin by looking at the other admins — some are in the mod group and some aren’t.

So, there’s no need to change anything besides the display of the About page. Certainly there’s no need for new groups.

You’re right, I was making some wrong assumption and wrote nonsense.

In that case I don’t understand your problem. The about page already distinguishes between mods and admins…

If a person is a mod and and admin, they are only shown in admins. If someone is not a mod but is an admin, they are shown there too.

In short: there’s nothing on /about that allows people to see which of the admins are mods

2 „Gefällt mir“

I feel like Discourse team has a plugin that hides users from being listed on that page… maybe one of them can speak to it.

I totally agree. I am an admin on dozens of sites but am not a moderator on any (maybe one?).

Several times I have been contacted by a user about something that I could not help with or had the site owner express concern that I was listed on the about page.

2 „Gefällt mir“

We do. We’re admins on lots of hosted sites for support reasons but we don’t show up on the About page.

1 „Gefällt mir“

Hiding people entirely would only sorta solve my concern (it would help avoid contacts to people who don’t want it, but they’d lose being honored as part of the staff). I want clarity about the admins who are mods so that it’s obvious that they are options when mods specifically are needed. I think I don’t want to hide the non-mod admins though. I’d still like them to be honored as being staff in our case.

I think the About page just could use a rethinking in how staff are presented overall. I could see several different ways to do it. One thought: flip the current approach, just maybe show all mod+admin folks under mod, but give them a special badge noting that they are admins. Another thought: Show it like a Venn diagram somehow so that everyone is in a big list but a section are highlighted mods and a section admins and show an overlapping section. I’m sure good UX folks could have other ideas.

The goal is just to have more clarity for the multiple purposes that we show who the staff are (knowing who to contact for things, honoring people for their work and positions…)

1 „Gefällt mir“

Just found this

It should help give you an idea on how it could be implemented in a plugin.

4 „Gefällt mir“

Is this something that can be released?

1 „Gefällt mir“

We will never release that plugin since it’s our secret sauce, but that feature is easy to do :wink:

add_to_serializer(:about, :admins) do
  object.admins.reject do |user|
    # your criteria for removing users from the admins list
  end 
end
7 „Gefällt mir“

From the I-don’t-really-understand-serializers department. . .


  # remove pfaffman from admins
  puts "now Adding to serializer"
  add_to_serializer(:about, :admins) do
    object.admins.reject do |user|
      puts "USER::: #{user}"
    end
  end
  puts "end Adding to serializer"

I get no output between “now…” and “end…”.

I thought that # your criteria for removing users from the admins list would seem like I’d put something like user.username=='pfaffman' in there, but it doesn’t seem like anything is happening. Except that now no admins are displayed.

edit: This also removes moderators (I tried false too).

  add_to_serializer(:about, :moderators) do
    true
  end
2 „Gefällt mir“

add_to_serializer is a function which takes three arguments.

  1. Name of the serializer (:about)
  2. Name of the variable you want to serialize (:admins)
  3. A block. Think of this as a section of code that will be executed at some point in the future

So that is expected. The block you gave to add to serializer has not been executed yet. In fact, it will only be executed when the serializer is used. If you go and request about.json, you should then see "USER::: #{user}" appear in your console. And it will appear every single time you make the request.

Yes, that sounds like it should work. Remember it is case sensitive.

5 „Gefällt mir“

Ein Beitrag wurde zu einem neuen Thema aufgeteilt: Kann die /about-Seite zwischen Moderatoren und Kategorie-Moderatoren unterscheiden?

Ich denke, das ist jetzt klarer, da Admins, die auch Moderatoren sind, in beiden Listen angezeigt werden

3 „Gefällt mir“