pentacent / keila

Open Source Newsletter Tool.

Home Page:https://keila.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow creating users from administer users page

doobry-systemli opened this issue · comments

Trying out the official keila Docker image, I didn't find a way to add new users when logged in as root user. The web interface only lists the sole user, without any options to add/edit/delete users:

grafik

Do I miss something? Or is user management somehow disabled in the official Docker image?

Hey, thank you for your question! You can’t currently create new users on this page. You can register new users at /auth/register

Oh, I see. So there is no option to disable user registration but at the same time manage users as the admin user?

We're thinking about running a keila instance for activist projects, but open registration is no option for us. So we'd envision a setup where our admin user can add new users manually on request and these users can maintain their campaigns and contact sets.

You can quite easily accomplish this via the console at the moment before this feature will eventually be added.

Open the console like this in the container:

/opt/app/bin/keila remote

Then execute the following command:

Keila.Auth.create_user(%{email: "user@example.com", password: "secure-password-123"})

I’ve updated the title of the issue and added it to the roadmap. We should add a feature to create new users from the admin page.