Pierre Noël
|
d35e1d36f1
|
remove user delete route
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:09:51 +02:00 |
|
Pierre Noël
|
98f8275190
|
prevent removing the last superadmin
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:09:50 +02:00 |
|
Pierre Noël
|
711c58b05e
|
create role at startup + warning
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:09:49 +02:00 |
|
Convly
|
d69101427f
|
Fix PR: Refactor user e2e tests, fix domain logic, add user::deleteOne route
|
2020-07-08 11:04:22 +02:00 |
|
Convly
|
483457cafd
|
Add GET /admin/users/:id route
|
2020-07-08 11:04:21 +02:00 |
|
Convly
|
ce44b330ad
|
Extract sanitizeUserRoles to outer scope, fix typo
|
2020-07-08 11:04:20 +02:00 |
|
Convly
|
6897cbf6ad
|
Add update user route in the user api
|
2020-07-08 11:04:20 +02:00 |
|
Pierre Noël
|
291779aa45
|
move count to role services
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 10:59:36 +02:00 |
|
Pierre Noël
|
7f0bb01a07
|
refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 10:59:36 +02:00 |
|
Alexandre Bodin
|
35d87bfdcd
|
Cleanup
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:53:23 +02:00 |
|
Alexandre Bodin
|
7a056c2f45
|
Add admin registeration API
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:53:19 +02:00 |
|
Alexandre Bodin
|
851ba201ac
|
Add /users/me routes
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:51:01 +02:00 |
|
Convly
|
651d42dbea
|
fix PR comments, move pagination logic to the database layer, handle searches
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 10:50:44 +02:00 |
|
Convly
|
60b24dd3c3
|
Add GET /admin/users route and new pagination system
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 10:49:22 +02:00 |
|
Alexandre Bodin
|
a841400f85
|
Add register route
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:45:03 +02:00 |
|
Alexandre Bodin
|
01854f431f
|
Add registration info route
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:44:59 +02:00 |
|
Convly
|
40089ed4aa
|
Add e2e tests, fix validation for mongoose, update services
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 10:38:08 +02:00 |
|
Convly
|
50b170e543
|
Uniformize code with rbac/login
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 10:37:59 +02:00 |
|
Convly
|
fb58de9814
|
Cleanup strapi-admin services & domain
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 10:37:20 +02:00 |
|
Convly
|
12953bd6f5
|
Add new POST /admin/users route (controller + related services). Update User model: remove required constraint on password field.
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 10:37:16 +02:00 |
|
Alexandre Bodin
|
e597bddc59
|
Add tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:24:47 +02:00 |
|