Pierre Noël
|
2339c6b8f7
|
fix tests
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:09 +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
|
42e3b64689
|
refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:08 +02:00 |
|
Pierre Noël
|
0ff2048ea9
|
add action plugins::application.settings.read
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:08 +02:00 |
|
Pierre Noël
|
7e1a91dda6
|
add use strict
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:08 +02:00 |
|
Pierre Noël
|
bbb1353927
|
remove hidden contentTypes from permission actions list + fix tests
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:07 +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 |
|
Convly
|
c398b969a4
|
Add unique email check on update user
|
2020-07-08 11:04:22 +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
|
a6c2fab79c
|
Add tests for user controller/service/api
Fix e2e tests, add default role to match .min(1) condition
|
2020-07-08 11:04:21 +02:00 |
|
Alexandre Bodin
|
d1e2350a2e
|
Fix tests after merge
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:59:37 +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 |
|
Pierre Noël
|
77eec454ff
|
getUsersCountsFor -> getUserCount
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 10:59:37 +02:00 |
|
Pierre Noël
|
1746314930
|
fix tests for mongo
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 10:59:36 +02:00 |
|
Pierre Noël
|
970a470034
|
add tests + make role decription optional + refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 10:59:34 +02:00 |
|
Pierre Noël
|
86882a4aaa
|
refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 10:58:08 +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
|
f7f3843916
|
Add tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:57:20 +02:00 |
|
Pierre Noël
|
e1209af1de
|
refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 10:56:57 +02:00 |
|
Pierre Noël
|
182ec648d5
|
add loading of ee files + add create role
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 10:56:55 +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 |
|
Pierre Noël
|
5a4e6c0cf5
|
add GET /admin/roles
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 10:50:48 +02:00 |
|
Pierre Noël
|
81640de2e7
|
add base for e2e tests
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 10:46:19 +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 |
|
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
|
13e3199d06
|
Skip createANewUser e2e test which depends on role API
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 10:38:19 +02:00 |
|
Convly
|
1182b848dd
|
Fix weird behavior on strapi-admin e2e tests for mongo
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 10:38:18 +02:00 |
|
Convly
|
4b7424f6ef
|
Fix strapi-admin e2e tests
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 10:38:16 +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 |
|
Alexandre Bodin
|
ddfb306b44
|
Add tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:24:43 +02:00 |
|