I have a handful of staged users who got deleted (don’t ask) and now am seeking to bring them back. I created them originally by addressing new PMs to them, and thought I could bring them back by inviting them to their message again.
As it turns out, this is not possible now - the invite to message modal only allows entering usernames, not email addresses. I could imagine the ability to invite staged users to a message or topic being a very handy feature to add.
Thanks, Jeff. Looks like you are right! I guess I just didn’t wait that fraction of a second it takes for that blue select to pop up. The language maybe could be updated to reflect that email addresses can be entered into this field.
Hmm yes perhaps we can change the copy there to add
Enter the username or email of the person you’d like to invite to this topic
But I am not sure under what conditions email can be added, this text might be used elsewhere, or email-as-target-of-PM might be conditional to trust level.. I can’t remember .. can you add this to your plate @jomaxro?
@tobiaseigen, I’m having some trouble reproducing this. Looking at the client.en.yml inviting a user to a private message should use the following text, not what you shared a screenshot of.
Invitee’s Email or Username
Any chance you customized the invite_private.email_or_username key? Here’s what I see here on Meta:
What version of Discourse are you running? Can you confirm that the text is the default (not customized) in /admin/customize/site_texts?q=invite_private.email_or_username
Given that, I’m going to have to defer to @gerhard here. We’re getting into the complexities of SSO and staged users, and I don’t have a SSO-enabled site to test with.
I did some more testing here on my own site and see that the message on the screen is actually correct. It is not possible to invite an email address even if it is (incorrectly) offered in the blue select popup.
But given that we have staged users now I think it should be possible to do this even on SSO sites, the same way it is possible to start a new message to a staged user.
I just came across this issue again now, and had a thought. It’s occurring to me that it’s correct that you cannot invite an email address and create a staged user using the “invite to message” modal. It makes more sense to create the staged user by starting a separate PM to the email address. That way you can give the person some context.
Also, by default it doesn’t make sense to then invite staged user to a message or topic because they are not yet users and so can’t click to accept the invitation. So really this is working as expected.
However, as staff, I often miss the ability to simply add users (staged or not) to existing messages. A staff option on this modal to directly add users to the message, bypassing the invite message and acceptance step, would be handy.
En nuestro sistema, la mayoría de nuestros miembros ya tienen sus credenciales de SSO configuradas mediante cookies del sitio desde nuestro sitio principal. Por lo tanto, si se envía por correo electrónico un enlace a un mensaje a un miembro de nuestro grupo que aún no ha ingresado a la comunidad, el SSO funcionaría perfectamente y les permitiría entrar.
Parece que puedo enviar un enlace a una dirección de correo electrónico, lo cual es casi igual de bueno, pero en un mundo ideal podría hacer lo que sugiere @tobiaseigen aquí y simplemente enviar la invitación sin crear un usuario provisional, al menos cuando el SSO está activo.
Entonces, sería responsabilidad del SSO gestionar correctamente la llegada de ese usuario. Supongo que podría ser útil tener una casilla de configuración para desactivar esta funcionalidad en caso de que el SSO no pueda manejarla adecuadamente…
Tenemos 3000 miembros, pero solo alrededor de 600 han explorado la comunidad en las primeras dos semanas… sería agradable invitar a las personas a las que hacemos referencia.
¡Gracias por tu comentario! Sin embargo, el problema no es obtener una URL para enviar a las personas. La URL principal funciona muy bien con SSO… una capacidad muy útil. Lo que estoy intentando hacer es utilizar la capacidad de “enviar una invitación” a una dirección de correo electrónico, como se muestra aquí:
Sin embargo, estoy utilizando SSO, por lo que esa capacidad está desactivada. Por lo tanto, solo obtengo esto, que solo me permite compartir con nombres de usuario, no con direcciones de correo electrónico:
En mi sistema, el SSO los crearía y los iniciaría sesión sin problemas, pero la herramienta desactiva la capacidad de enviar la invitación.
Lo que estoy haciendo en su lugar, lo cual no es tan malo, es compartir un enlace con su dirección de correo electrónico. No es una invitación, pero al menos abre un correo electrónico con el enlace incluido, alrededor del cual puedo construir un mensaje. Y cuando hacen clic en ese enlace, deberían iniciar sesión con SSO sin problemas.
Tengo un poco de curiosidad sobre el ?u=my.userID al final del enlace resultante… Espero que esté relacionado con la generación de estadísticas de compartir y no intente iniciar sesión como yo.