Grant administrator rights to a user

AI-generated summary

Granting Administrator Rights to a User

Jacky2 is trying to grant administrator rights to a user but received a broken link via email. JammyDodger suggested using the console command rake admin:create to achieve this. The process involves entering the user’s email and confirming the grant of admin privileges.

Jacky2 thanked JammyDodger but noted the process affects other users, not just the administrator. Additionally, pfaffman suggested the broken link might be due to link tracking by the mail sending service, prompting Jacky2 to investigate further.

Hi discourse’s community !
This is my first utilisation of discourse.
I want to grant administrator rights to a user.
As admin, i received a mail but the link is broken :
“Wrong Link
You have clicked on an invalid link. Please make sure that you have typed the link correctly. If are copying this link from a mail reader please ensure that you have copied all the lines in the link.”
I want to change user status within the CLI.
It is possible ?
PS: I did not find any information in the threads of discussions
Thanks for your help and advises

I’m not sure what’s happened to that email, but you can do it from the console: :+1:

Did the link get rewritten by your mail sending service so that it could do link tracking?

Thanks @JammyDodger. I didn’t understand that this process also affects other users. I thought it was only for the administrator.

Hi @pfaffman I’m going to see in my mail sending service what happens.
Thanks a lot !