14134 Commits

Author SHA1 Message Date
soupette
ae13a18bd8 Fix section display
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:09 +02:00
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
22fb227b96 remove cloning in action-provider
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 11:05:09 +02:00
Pierre Noël
91a7f1a6cb remove use of conditions inside actions
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 11:05:09 +02:00
Pierre Noël
9a717fe672 rename createActionProvider
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 11:05:08 +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
86eccf9e66 add js doc
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
d8a4490cbf adapt updatePermissions for EE/CE
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 11:05:07 +02:00
Pierre Noël
0330aba229 clean permissions in db at startup
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
Pierre Noël
5fffffa72d add permission registry provider
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 11:05:06 +02:00
soupette
f5e8f470ae Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:06 +02:00
soupette
bcb18f117f Update doc
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:06 +02:00
soupette
50c16dee16 Move plugins trads
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:05 +02:00
soupette
fa3315a118 Improve code
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:05 +02:00
soupette
4ce714c32f Add permissions to doc plugin
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:05 +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
3c8c15efca Add permissions check to plugins main components except the ctm
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:04 +02:00
soupette
2e314756cf Add permissions to doc main compo
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:04 +02:00
soupette
7d9041ecc3 Add permissions to ctb main compo
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:04 +02:00
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