15371 Commits

Author SHA1 Message Date
soupette
c91ebf6dab Fix Pr feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:19 +02:00
soupette
9a68e2b3e1 init fake users permissions data
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:19 +02:00
soupette
d2f6ef550c Upgrade buffet.js
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:19 +02:00
HichamELBSI
cbba497f42 Fix PR review
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-07-08 11:04:18 +02:00
HichamELBSI
b786f9b43d Init content type permissions list
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-07-08 11:04:16 +02:00
soupette
57e21e1a04 Change button color
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:00:28 +02:00
soupette
fa7d906494 Fix batch-delete
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:00:28 +02:00
soupette
ca5f97aa5d Fix trads
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:00:26 +02:00
soupette
af981d6bb3 Add empty role compo
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:00:00 +02:00
soupette
6676c1878e Upgrade buffet
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:59:41 +02:00
soupette
be5da0c871 Fix import
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:59:41 +02:00
soupette
250d356688 Clean logout
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:59:40 +02:00
soupette
0c5c3d9dc7 Clean leftmenu
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:59:40 +02:00
soupette
c8e3e624d2 Fix list
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:59:40 +02:00
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