lemberg / connfa-integration-server

Connfa CMS & Integration Server
Apache License 2.0
31 stars 43 forks source link

How to create new user #22

Closed nedasvi closed 7 years ago

nedasvi commented 7 years ago

Hello, I seeded the admin user and everything works well, but I need to make additional users for my team members. How can I do that, because I don't see any options in the CMS itself. Thanks!

vpauk commented 7 years ago

@Chiuvitas

You can add additional users from page /users

f0utzltkrwwxg7o0rejadq

Documentation -> http://connfa.com/integration-server/cms/ -> Users

nedasvi commented 7 years ago

There is no Users button image

vpauk commented 7 years ago

@Chiuvitas

Maybe your user does not have admin permissions, because only admin has permission to see page /users.

I suggest to remove data from database and seed database again. For this you should run following commands:

  1. php artisan migrate:refresh
  2. php artisan db:seed
  3. php artisan password:change --name=admin --password=YOUR_PASSWORD_HERE
halburgiss commented 5 years ago

I have the very same issue. Running your suggested commands does not solve the issue, and results in errors like ...

[Illuminate\Database\QueryException]
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1' for key 'PRIMARY' (SQL: insert into event_levels (id, name, c onference_id, updated_at, created_at) values (1, Beginner, 1, 2019-03-20 12:53:39, 2019-03-20 12:53:39))

In the Roles table: "User is allowed to manage and edit other users"

yuriymyrosh commented 5 years ago

@halburgiss Hi, you should use unique id or leave it empty when you are inserting new level (MySQL will auto increment id for you)

halburgiss commented 5 years ago

I am not inserting anything. I was running the commands mentioned above:

php artisan migrate:refresh php artisan db:seed

I resolved the issue by starting over with clean db. On the initial install I did not run the 'db:seed' as it sounded optional. I ran it the second time around. So it seems it is a required step.