Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Populate admin with users #166

Closed
msvrtan opened this issue Dec 19, 2017 · 2 comments
Closed

Populate admin with users #166

msvrtan opened this issue Dec 19, 2017 · 2 comments
Labels
Milestone

Comments

@msvrtan
Copy link
Contributor

msvrtan commented Dec 19, 2017

We should administer users via admin

@msvrtan msvrtan added the task label Dec 19, 2017
@msvrtan msvrtan added this to the Sprint 2 milestone Dec 19, 2017
@HcsOmot
Copy link
Collaborator

HcsOmot commented Jan 9, 2018

If we can somehow use easyadmin to create new users (fos:user), maybe that could help closing #169 and #163)

@HcsOmot
Copy link
Collaborator

HcsOmot commented Jan 10, 2018

We can create a new user record using easyadmin, but the newly created user cannot log in.
Easyadmin writes a plain text password directly into the db, bypassing fos:user password hashing.

Proposed solution:

  • create a custom registration form for creating new admin users
  • use fos:usermanager to create the new user with provided credentials
  • protect the route
  • add menu item to easyadmin backend

Ping @msvrtan for comment.

HcsOmot added a commit to HcsOmot/joindin-raffler-backend that referenced this issue Jan 10, 2018
EasyAdmin backend can now keep track of registered users, and can
modify their roles.

Closes zgphp#166
HcsOmot added a commit to HcsOmot/joindin-raffler-backend that referenced this issue Jan 10, 2018
EasyAdmin backend can now keep track of registered users, and can
modify their roles.

Closes zgphp#166
HcsOmot added a commit to HcsOmot/joindin-raffler-backend that referenced this issue Jan 10, 2018
EasyAdmin backend can now keep track of registered users, and can
modify their roles.

Closes zgphp#166
HcsOmot added a commit to HcsOmot/joindin-raffler-backend that referenced this issue Jan 15, 2018
EasyAdmin backend can now keep track of registered users, and can
modify their roles.

Closes zgphp#166
@HcsOmot HcsOmot reopened this Mar 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants