Convly
5f01d9ebe1
Add permissions on upload controller
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 11:48:42 +02:00
Convly
56d583e49e
Add basis for upload controllers permissions
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 11:48:41 +02:00
Convly
b5fb5f8509
Add permissions to the content-manager routes
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 11:48:17 +02:00
Alexandre Bodin
4edad86029
Add basic created_by updated_by
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 11:48:16 +02:00
soupette
26713b66eb
Fix delete in upload plugin
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:48:15 +02:00
soupette
842f78d5fe
Only display allowed filters
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:47:45 +02:00
soupette
df3346fb39
Fix permissions
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:47:23 +02:00
soupette
07d24de334
Fix input media
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:42:29 +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
Pierre Noël
243c4ccc4e
add upload permissions to default roles + second refacto
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 11:09:52 +02:00
soupette
a7ea1e3200
Temp commit
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:09:47 +02:00
soupette
9f355043d0
Fix upload plugin
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:09:47 +02:00
soupette
820c0e9ba1
Hide searchbar in upload modal ctm when not allowed to read
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:09:46 +02:00
Alexandre Bodin
d1c492a0fa
Fix unit tests
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 11:09:45 +02:00
soupette
044c47e732
Add tests
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:07:27 +02:00
soupette
e83e25c298
Fix tests temporarily
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:07:27 +02:00
soupette
014d5e6f83
Add permissions to webhooks
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:07:26 +02:00
soupette
2e56b8c9a9
Add tests
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:07:26 +02:00
Convly
ef94229d81
Add Condition Provider & Permissions Engine
2020-07-08 11:05:49 +02:00
soupette
a4d99ba742
Add permissions to settings menu
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:47 +02:00
soupette
ff48998648
Move useUserPermissions hook
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:12 +02:00
soupette
2fd80d7de4
Add tests
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:12 +02:00
soupette
467d77cbaa
Add tests
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:11 +02:00
soupette
5665227e28
Add tests
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:11 +02:00
soupette
99dac93f27
Add permissions to inputmedia
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:11 +02:00
soupette
012941f9ad
Add permissions to ML
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:11 +02:00
soupette
170b8a7d18
Revet work
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:10 +02:00
soupette
9c83713953
Temp commit
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:10 +02:00
soupette
e8ee11f354
Created hook to check available permissions and secure ml main compo
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:10 +02:00
soupette
dd66abe69b
Init permissions in ml
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:05:10 +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
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
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
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
7f4bb2a5bc
Update plugin object
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:27 +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
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
2577eeedd3
Created MagicLink component
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:23:09 +02:00
soupette
3e33790125
Created ModalHeader component in helper and use it in upload plugin
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 09:45:37 +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
HichamELBSI
2495d94da5
Fix selected files for the media lib modal
...
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-07-03 18:34:45 +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
Andrey Hohutkin
94e031eba5
Fixes for Media Library upload ( #5971 )
...
* Fix formatFileInfo
Keep original file name including extension
* Fix file name for generated media
File name was not set for all generated media: thumbnail and resized pictures.
* Generate hash based on file name without extension
* cleanup PR
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
* Fix unit tests
Exclude temporarily unit test 'Replaces reserved and unsafe characters for URLs and files in hash' because it did not work properly ever.
* Remove path delimiter from filename because it is correct character for file path
* Fix e2e
* Continue fixes for e2e
* Fix createRequest content type
* Correct thumbnail name in e2e test
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
Co-authored-by: Andrey Hohutkin <none@none>
2020-06-25 10:13:42 +02:00
Alexandre Bodin
eaf40e1ada
v3.0.5
2020-06-23 12:18:00 +02:00
soupette
6dffb1a8d2
Fixes #6775
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-06-23 12:09:23 +02:00
Alexandre Bodin
9ed11a6682
v3.0.4
2020-06-19 09:19:52 +02:00