swamidass
(S Joshua Swamidass)
19 Aprile 2020, 6:09pm
1
C’è un modo per configurare una categoria in modo che:
Gli utenti di un gruppo specifico possano pubblicare senza restrizioni.
Gli utenti NON appartenenti a quel gruppo specifico possano pubblicare, ma tutti i loro post debbano essere approvati.
Grazie.
1 Mi Piace
maiki
(maiki)
19 Aprile 2020, 8:16pm
2
Non credo; sono preoccupazioni separate come opzioni, come avrai senz’altro scoperto.
3 Mi Piace
pfaffman
(Jay Pfaffman)
20 Aprile 2020, 1:55pm
3
Credo che una soluzione sia creare una seconda categoria che richieda moderazione e poi far spostare il contenuto alla categoria desiderata da un moderatore.
3 Mi Piace
tgxworld
(Alan Tan)
15 Aprile 2026, 8:26am
4
Vi segnalo solo che questa funzionalità è stata implementata in
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`.
Chiudo per ora questa discussione
1 Mi Piace