Consentire agli amministratori di cambiare facilmente gli indirizzi email

Current setup:

Site is locked down for members to be invited or request access.
We don’t want people changing their own email address, so the related email change site-setting is disabled. Of course, sometimes an admin must.

###Expectation:
go to the user’s admin page, see the email, and edit it, potentially have that pending confirmation of the new email. :sunny:

###Actual

  • visit the admin page

  • click a button to see what it is.

  • there’s no way to edit it

  • Click Show Public Profile,

  • realize you have to click Preferences too.

  • No way to edit the email address… grrr

  • Go back to admin

  • disable the site setting

  • go back to publich profile/preferences

  • edit

  • go back to admin

  • disable the site setting.

As an admin, can we please just edit a user’s address at all times, from the Admin page?

extra brownie points from this customer if @techAPJ could allow the name to be edited while he’s there.

Please?

14 Mi Piace

Yeah, we are fine with allowing email/name/username editing on admin page. We must account for the sso override stuff though that disables editing here.

Of course, there are a couple of things that should be added related to this.

  • We should log all the name/email/username changes and have that visible somewhere

  • If an admin changes a users email, its probably sane to allow them to send an email right away to that user explaining that the email changed, doing this (optionally) automatically would be good.

2 Mi Piace

I guess API considerations, such as this post by @SnipersCode, would come in to play as well.

3 Mi Piace

As an admin, I can change an email now it just takes too many steps.

Addressing either (or both) of these two needs would help a lot"

  • Allowing an admin to change a user’s email from its Admin view (not only the public profile)

  • Allowing the change even if the site setting is disabled.

As for SSO, presumably the source of authentication already knows about the new email… the goal of the change in discourse would be to prevent an undesired second account from being created on the user’s next visit.

4 Mi Piace

Currently this happens… we need to click an email confirmation link.

Maybe that would have to change when SSO is enabled, however I don’t think bringing the control from the user-side preferences to the admin side preferences changes the current SSO workflow.

1 Mi Piace

Ciao,

mi scuso per aver ripreso questa vecchia discussione, ma il comportamento di Discourse sta causando seri problemi in questo momento.

Se un utente attiva i propri account sulla nostra piattaforma (Discourse è solo una delle tante piattaforme), creiamo automaticamente un utente Discord tramite API. Dobbiamo farlo per assegnare i gruppi corretti. Se l’utente cambia la propria email prima di accedere per la prima volta a Discourse tramite Discourse SSO, creerà un nuovo account (<username>1) e dovremo unire manualmente i 2 account.

Consentire all’API di modificare l’email aiuterebbe a ridurre molto lavoro manuale. E immagino che anche gli amministratori dovrebbero essere autorizzati, poiché di solito sanno cosa stanno facendo.

Vorrei impedire agli utenti di modificare i propri indirizzi email, ma non agli amministratori e all’API.

1 Mi Piace

Configura il tuo SSO in modo che assegni i gruppi all’accesso.

1 Mi Piace

Purtroppo non è possibile con la nostra configurazione.

(almeno non al momento)

Un’altra soluzione semplice per noi sarebbe se Discourse SSO o SAML potessero essere configurati per accedere all’account con lo stesso nome SENZA effettuare controlli basati sull’e-mail. Ma sfortunatamente Discourse vuole sempre essere più intelligente di chiunque lo utilizzi :frowning:

Beh, immagino di non essere stato l’unico a lamentarmi. Finalmente è possibile!

Grazie mille! :slight_smile:

2 Mi Piace

6 post sono stati divisi in un nuovo argomento: La modifica degli indirizzi email non funziona come amministratore