14807 Commits

Author SHA1 Message Date
soupette
ce4710b297 Fix lists
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:59:40 +02:00
soupette
e941ab8fae Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:59:39 +02:00
soupette
664be7d2db Translate user msg
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:59:39 +02:00
soupette
aa3b7077cd Add search
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:59:39 +02:00
soupette
da801e95fb Add delete role logic
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:59:39 +02:00
soupette
16eb1df70b Connect to roles api when creating a user
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:59:39 +02:00
HichamELBSI
be2ef30ab8 Fix PR feedback
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-07-08 10:59:38 +02:00
HichamELBSI
670b413934 Edit a role without API Call
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-07-08 10:59:38 +02:00
Alexandre Bodin
7c8d51d15d fix 204 issues and use strapi.db.getModelByAssoc
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:59:38 +02:00
Alexandre Bodin
ba8509eac8 Apply PR feedbacks
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:59:38 +02:00
Alexandre Bodin
02435ae8a3 fix unit tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:59:38 +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
Alexandre Bodin
c6e08dcb57 Add assign permission
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:59:37 +02:00
Alexandre Bodin
ff0b5a13a4 Init permissions routes
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:59:37 +02:00
Pierre Noël
9cfc34e19f rename findOneWithUsersCount
Signed-off-by: Pierre Noël <petersg83@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
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
Pierre Noël
aeb384827b remove use of role.users in front 2020-07-08 10:59:36 +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
soupette
d0d18b22e1 Created hook to get layout
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:58:07 +02:00
soupette
d45cf87118 Add nav between list view and edit view
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:58:05 +02:00
soupette
05f6fb7d40 Move configure button to the ctm
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:57:40 +02:00
HichamELBSI
79e347846a Submit role
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-07-08 10:57:39 +02:00
Alexandre Bodin
7ddfdabcb0 Fix 204 bugs
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:57:22 +02:00
soupette
9c12820744 Fix style
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:57:22 +02:00
soupette
08cc0fd19e Fix feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:57:22 +02:00
soupette
a218a9444b Fix feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:57:22 +02:00
soupette
d5abc0a47b Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:57:21 +02:00
soupette
61bcfb58d0 Update auth views
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:57:21 +02:00
soupette
73c85dfc6f Change admin endpoint for forgot password
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:57:21 +02:00
soupette
7c65fb22af finish auth views
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:57:21 +02:00
soupette
022d7bf07a Connect update user view to API
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:57:20 +02:00
HichamELBSI
e6ee2c2b12 Fake role list
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-07-08 10:57:20 +02:00
Alexandre Bodin
f7f3843916 Add tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:57:20 +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
soupette
d5c099ffbc Fix outline logout
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:57:19 +02:00
soupette
227cc3a3c1 Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:57:19 +02:00
soupette
2f86d35372 Fix tabs baseline
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:57:19 +02:00
soupette
30431d1235 EditPage
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:57:19 +02:00
soupette
ac9e3a60d2 Fixe baseline
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:57:17 +02:00
Pierre Noël
9bc700370c concat only routes
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 10:57:01 +02:00
Pierre Noël
c3728824ab fix bad merge EE/CE
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 10:56:59 +02:00
Pierre Noël
e1209af1de refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 10:56:57 +02:00