swamidass
(S Joshua Swamidass)
19. April 2020 um 18:09
1
Gibt es eine Möglichkeit, eine Kategorie so einzurichten, dass:
Benutzer in einer bestimmten Gruppe uneingeschränkt posten können.
Benutzer, die NICHT in dieser Gruppe sind, posten können, aber alle ihre Beiträge genehmigt werden müssen.
Vielen Dank.
1 „Gefällt mir“
maiki
(maiki)
19. April 2020 um 20:16
2
Das glaube ich nicht; sie sind als Optionen separate Anliegen, wie du zweifellos festgestellt hast.
3 „Gefällt mir“
pfaffman
(Jay Pfaffman)
20. April 2020 um 13:55
3
Ich denke, eine Lösung besteht darin, eine zweite Kategorie zu erstellen, die eine Moderation erfordert, und den Moderator dann die Verschiebung in die gewünschte Kategorie vornehmen zu lassen.
3 „Gefällt mir“
tgxworld
(Alan Tan)
15. April 2026 um 08:26
4
Kurze Anmerkung hier: Dieses Feature ist unter
committed 02:41AM - 07 Apr 26 UTC
Category approval was previously a simple boolean toggle per post type (`require… _topic_approval` / `require_reply_approval`). This made it impossible to exempt specific groups from review or to require review only for certain groups.
This replaces the boolean model with a four-mode enum on `CategorySetting`: `no_one`, `everyone`, `everyone_except`, and `no_one_except`. The group-based modes pair with `CategoryPostingReviewGroup` join records to determine which groups are included or excluded. The old boolean accessors are preserved as aliases of the enum predicates for backward compatibility.
With the mode now living on `CategorySetting`, the per-row `permission` column on `CategoryPostingReviewGroup` is redundant since the join table only needs to track which groups are associated with a category, not what kind of permission they have. The column is made nullable and marked readonly in a pre-deploy migration, then dropped in a post-deploy migration.
On the frontend, the approval checkboxes are replaced with `ComboBox` dropdowns for the four modes and a conditional `GroupChooser` for the group-based modes, in both the legacy and simplified category editors. The simplified editor uses FormKit field-level validation to show inline errors when a group-based mode is selected without any groups. The legacy editor relies on server-side validation surfaced through `popupAjaxError`.
eingeflossen.
Ich schließe dieses Thema vorerst
1 „Gefällt mir“