2260 Commits

Author SHA1 Message Date
soupette
970273a9b9 Fix validations
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:46:32 +02:00
soupette
7e4d7b1d1c Fix validations
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:46:32 +02:00
soupette
f86a3c3b9e Fix CM loading state
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:46:32 +02:00
soupette
51756426a8 Fix NotAllowedInput trad
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:42:52 +02:00
soupette
af69b04238 Fix single types and input media
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:42:28 +02:00
soupette
ddb37266ae Add permissions to edit
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:42:28 +02:00
soupette
577471142d Add permissions for update
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:42:28 +02:00
soupette
0f91108d10 Fix header
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:38:20 +02:00
soupette
2d4eb1d0ca Clean code
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:38:20 +02:00
soupette
8b7aecd481 Fix dynamiczones
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:38:18 +02:00
soupette
b8a979f276 Add permissions for create action only for collectionTypes
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:37:48 +02:00
soupette
f2c9716156 Fix dynamiczones
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:37:47 +02:00
soupette
fde9b99a44 Add permissions to Inputs level
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:37:47 +02:00
soupette
ec80117a49 Add permissions for creating to simple ct
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:37:45 +02:00
soupette
d5332d4a51 Temp commit
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:37:00 +02:00
soupette
fc64f20632 Created NotAllowedInput
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:36:59 +02:00
soupette
278f93807f Fix permissions for CM
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:36:59 +02:00
soupette
b8428bc4b0 Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:36:58 +02:00
soupette
196a624847 Rename selectors
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:36:58 +02:00
soupette
ab0145421d Fix perfs issues
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:36:58 +02:00
soupette
7839c0567e Created selector to avoid rerenders
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:36:56 +02:00
Pierre Noël
6ab7669365 rename plugins::content-manager.create to plugins::content-manager.explorer.create and others
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 11:09:51 +02:00
soupette
84c4591816 Remove useless file
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:09:49 +02:00
soupette
c6d37dca41 Add tests
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:09:49 +02:00
soupette
99797ce934 Add permissions for delete create update
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:09:49 +02:00
soupette
cc76fc2abc Refacto code
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:09:48 +02:00
soupette
c0a28d7064 Remove the redirect url
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:09:48 +02:00
soupette
896f7a5d96 Add tests
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:09:48 +02:00
soupette
1453e18818 Add loading states
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:09:48 +02:00
soupette
7006a8c02e Refzacto ListView
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:09:48 +02:00
soupette
fb9d4d439f Add permissions to CM listview
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:09:47 +02:00
soupette
c9fadf4efd Improve code by using useMemo
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:09:47 +02:00
soupette
a7ea1e3200 Temp commit
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:09:47 +02:00
Convly
ef94229d81 Add Condition Provider & Permissions Engine 2020-07-08 11:05:49 +02:00
soupette
6a298fc991 Rename permissions components
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:10 +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
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
soupette
6e6c8c05cb Add permissions to ctm injected components
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:05 +02:00
soupette
67c8cbd1d7 Add permissions on the configure button in the ctm
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:04 +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
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
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
soupette
05f6fb7d40 Move configure button to the ctm
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:57:40 +02:00
soupette
62a79a5fc0 Created basic routing for the settings
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 09:45:28 +02:00
richardgrey
47197419e1 Add Ukrainian translations for the whole project
Signed-off-by: richardgrey <richie.grey@gmail.com>
2020-06-30 17:23:01 +04:00