Convly
|
765d7aaa52
|
Add check many permissions route/controller / Add userAbility to the context's state / Add isAuthenticatedAdmin.js
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 11:05:50 +02:00 |
|
Convly
|
ef94229d81
|
Add Condition Provider & Permissions Engine
|
2020-07-08 11:05:49 +02:00 |
|
Pierre Noël
|
3aec039698
|
refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:09 +02:00 |
|
Pierre Noël
|
91a7f1a6cb
|
remove use of conditions inside actions
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:09 +02:00 |
|
Pierre Noël
|
42e3b64689
|
refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:08 +02:00 |
|
Pierre Noël
|
e078c0b022
|
rename permissions to actions, inverted params of provider.get, separated formatter, add possibility to not specigy pluginName for ::application
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:07 +02:00 |
|
Pierre Noël
|
707746ef45
|
refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:06 +02:00 |
|
Pierre Noël
|
ae0dcb9745
|
add route GET /admin/permissions
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:06 +02:00 |
|
Pierre Noël
|
5fffffa72d
|
add permission registry provider
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:06 +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
|
65f0e7e3f3
|
Use custom type for strapiID & move it to strapi-utils
|
2020-07-08 11:04:21 +02:00 |
|
Convly
|
483457cafd
|
Add GET /admin/users/:id route
|
2020-07-08 11:04:21 +02:00 |
|
Convly
|
ede7fd0b90
|
Add custom strapiID type to yup
|
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 |
|
Alexandre Bodin
|
7346b983c5
|
Add domain model for permission
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:59:37 +02:00 |
|
Alexandre Bodin
|
c6e08dcb57
|
Add assign permission
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:59:37 +02:00 |
|
Pierre Noël
|
9d431ee8ff
|
add single delete + refacto batch-delete
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 10:58:07 +02:00 |
|
Pierre Noël
|
308beddb24
|
add DELETE /admin/roles
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 10:58:07 +02:00 |
|
Alexandre Bodin
|
da35c122b4
|
Add reset password API
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:57:20 +02:00 |
|
Alexandre Bodin
|
88ccc4a111
|
Add forgot-password API
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:57:20 +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 |
|
Pierre Noël
|
abcaa7f831
|
add PUT /admin/roles/:id
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 10:51:46 +02:00 |
|
Alexandre Bodin
|
252bb3afe3
|
Remove email update of admin during test that break next tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:51:03 +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 |
|
Alexandre Bodin
|
2d55f281da
|
Remove role min limit to make test functional
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:45:07 +02:00 |
|
Alexandre Bodin
|
9ecd81a122
|
Add QueryError and remove useless code
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:45:05 +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 |
|
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
|
8b4db69e8c
|
Add schema validation for POST /admin/users
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 10:38:02 +02:00 |
|