Configurare e gestire il flusso di registrazione con approvazione dell'utente

:bookmark: This guide explains the sign-up process when the “must approve users” setting is enabled, including configuration steps and the user experience.

:person_raising_hand: Required user level: Administrator

When you want to control who can join your Discourse community, you can enable a setting that requires new users to be approved before they can log in. This feature is commonly used for private communities or public forums that want to limit participation.

Configuring user approval

To set up user approval for your Discourse site:

  1. Enable the must_approve_users site setting.

  2. (Optional) If you want to make your community private, enable the login_required site setting. This prevents anonymous users from viewing your forum’s content.

User sign-up process

Once you’ve enabled user approval, here’s what the sign-up process looks like for new users:

  1. The user visits your forum and clicks the “Sign Up” button.

  2. The user enters their account details and receives an activation email.

  3. After activating their email, the user sees this message on the forum:

    Welcome to Discourse!

    A moderator must manually approve your new account before you can access this forum. You’ll get an email when your account is approved!

    If the user attempts to log in before approval, they’ll see this message:

    Your account hasn’t been approved yet. You will be notified by email when you are ready to log in.

Moderator approval process

  1. Moderators receive on-site notifications for pending user approvals.

  2. If a request remains in the review queue, a reminder email is sent to all users with full Moderator status. The reminder email is managed by the PendingUsersReminder background job, which runs hourly but can be delayed using the pending users reminder delay site setting.

  3. Once a staff member approves a user, the user receives an email notification.

Additional resources

Last edited by @hugh 2024-07-05T01:35:58Z

Check documentPerform check on document:
16 Mi Piace

9 post sono stati divisi in un nuovo argomento: Signup email not being sent

3 post sono stati divisi in un nuovo argomento: Does changing ‘must approve users’ effect existing users?

Re: l’impostazione del sito must_approve_users.

Alla luce delle informazioni fornite su Does changing ‘must approve users’ effect existing users? - #2 by Moin

Tutti gli utenti esistenti vengono contrassegnati come approvati quando attivi questa impostazione.

sarebbe possibile aggiornare lo screenshot nella documentazione sopra:

per rimuovere l’avviso, come lo screenshot su:

Possibilmente aggiungendo anche il testo “Tutti gli utenti esistenti vengono contrassegnati come approvati quando attivi l’impostazione must_approve_users.” alla documentazione per chiarire l’esito.

1 Mi Piace

Come moderatore, ricevevo messaggi nella “posta in arrivo” di discourse quando c’erano nuovi utenti da revisionare. Ora arrivano come argomenti nella mia categoria “Staff”. Preferirei che fossero messaggi e non intasassero il mio elenco di nuovi argomenti in “Staff”. Come posso fare?

Penso che sia stato modificato 4 anni fa (PR). L’impostazione è pending users reminder delay minutes e il processo in background viene eseguito ogni 5 minuti.

Puoi condividere maggiori dettagli? Ho provato a riprodurlo, ma il promemoria utente in sospeso PM è stato comunque inviato ai moderatori più recentemente attivi.
Pensavo forse stessi parlando del promemoria sulle revisioni in sospeso, ma nemmeno quello viene pubblicato nella categoria dello staff. Viene inviato alla casella di posta del gruppo di moderatori.

Grazie per la tua risposta. Ecco uno screenshot di come appare attualmente la mia categoria staff. Tutti i messaggi “nuovo utente… richiede revisione” sono ciò che vorrei ricevere nella mia casella di posta invece che come argomenti nella categoria staff. Sono nuovo a discourse, quindi probabilmente ho impostato qualche impostazione che ha causato questo, solo che non riesco a capire cosa ho fatto.

[Immagine redatta per proteggere informazioni personali]

:thinking: Questi non sembrano i messaggi di revisione richiesti dal core di Discourse.

Quelli sembrano così:

I tuoi sembrano così:

L’utente X ha appena registrato un account sulla Fornax Science Console

La richiesta di nuovo utente Y richiede una revisione per l’accesso alla Fornax Science Console

Sembra che tu utilizzi openid-connect invece del flusso di registrazione di Discourse. Quindi non credo che questo argomento di documentazione ti sia di alcun aiuto. I messaggi che vedi non sono correlati a must_approve_users.

Grazie, è utile sapere dove cercare dopo.