14807 Commits

Author SHA1 Message Date
soupette
e73101b664 Update doc
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:04 +02:00
HichamELBSI
28653214f0 Update after PR review
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-07-08 11:05:03 +02:00
HichamELBSI
3d4a43545e Content type attributes permissions integration
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-07-08 11:05:02 +02:00
soupette
3f3f36a576 Improve settings menu and left menu
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:28 +02:00
soupette
6889940033 Fix messages
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:27 +02:00
soupette
316bff5afb Delete useless compo
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:27 +02:00
soupette
e780d4e410 Add models permissions check
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:27 +02:00
soupette
7f4bb2a5bc Update plugin object
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:27 +02:00
soupette
d3d8e678dc Update ctm
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:27 +02:00
soupette
2790068e36 Update menu to display the models
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:26 +02:00
soupette
904eb3ab7a Update settings api and documentation
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:26 +02:00
soupette
acb43e5aa9 Update settings api to add the permissions check
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:26 +02:00
HichamELBSI
00e6b008e7 Fix edit a role
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-07-08 11:04:26 +02:00
soupette
b68245b8b1 Add permissions to plugins links in the menu only
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:25 +02:00
soupette
d282c7d5d6 Update upload permissions
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:25 +02:00
soupette
628973a6f0 Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:25 +02:00
soupette
65ff67ac53 Add loading state
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:25 +02:00
soupette
372951327d Init permissions check for the general links
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:24 +02:00
soupette
30d8d08cc4 Move the general section in its own
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:24 +02:00
soupette
92c3d2ee1f fix batch delete roles
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:24 +02:00
soupette
38d0939aa5 Fix modal confirm and upgrade buffet
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:24 +02:00
soupette
0eaa9e9e4b Add loading state to roles view
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:23 +02:00
soupette
90b5912bb5 Add loading button to users and roles listpage
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:23 +02:00
HichamELBSI
441b9f067f Fix PR review
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-07-08 11:04:23 +02:00
HichamELBSI
5ad41b3a32 Submit update role action
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-07-08 11:04:23 +02:00
Convly
248546581f Accept ids equal to 0 as StrapiID 2020-07-08 11:04:22 +02:00
Convly
c398b969a4 Add unique email check on update user 2020-07-08 11:04:22 +02:00
Convly
598e9b9d93 Fix user controller tests 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
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
ce44b330ad Extract sanitizeUserRoles to outer scope, fix typo 2020-07-08 11:04:20 +02:00
Convly
ba4d6d85e5 Fix strapi-admin/services/user tests 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
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