how to create user in admin discourse ?
plis help me, then answer step by step
thanks
how to create user in admin discourse ?
plis help me, then answer step by step
thanks
Are you trying to add one user or one hundred?
itās working , thanks for information
I want to create a user to act as a service account, but Iām using single sign on and would need to do quite a bit of work to actually get a service account from the underlying user provider there. In other words, I donāt know how to do the create an account step or invite step.
I understand I could create a new user by switching away from SSO for a while and then back, is that what I need to do or can I manage to create a user without doing this?
Perhaps there is a ruby related command I can run from the terminal of my virtual machine that has a /var/discourse folder with ./launcher etc in it.
Perhaps there is a SQL query I can run from somewhere?
Then maybe what you want is
cd /var/discourse
rake admin:create
In spite of the name, making the user an admin is optional.
Edit : oops left out enter app as noted below
Aha! Tank you for your help @pfaffman!
This is what I did for my docker-stacks installation that got āCommand ārakeā not foundā without adding some steps.
sudo -s
cd /var/discourse
./launcher enter app
rake admin:create
Tadaaaaaaaaa! Verified success!
Oops! Sorry. I was poking on my phone before having coffee.
Glad it was enough to get you there.
Has the method of inviting a single user from your User Preferences page (gear icon) changed? I see no reference to anything regarding an āinviteā on that page. Thanks.
Nevermind. I see where invites are disabled with SSO
This topic was automatically closed after 2461 days. New replies are no longer allowed.