11 Commits

Author SHA1 Message Date
Pierre Noël
c6a5a047d6 Merge branch 'releases/v4' into v4/error-handling 2021-11-05 10:40:11 +01:00
Jean-Sébastien Herbaux
7f285fb755
[V4] Enhanced sanitize & remove restricted relations from content API's payloads (#11411)
* Rework sanitizeEntity, first iteration

* remove console.log

* Remove useless comments

* Fix e2e tests

* Fix up user e2e test

* Fix remove-restricted-relations visitor

* Handle grapqhql resolver, prevent access to restricted relations

* Handle polymorphic relation in the related visitor

* Remove morph attribute if empty

* Use only the find action to check if the relation is allowed
2021-11-04 15:47:53 +01:00
Pierre Noël
b4c9ad0440 refacto graphql errors 2021-11-04 11:42:43 +01:00
Pierre Noël
b58274aecb refactor error handling 2021-11-04 11:41:29 +01:00
Dieter Stinglhamber
7e89f091da remove count route from the upload plugin 2021-10-21 14:33:22 +02:00
Marvin Frachet
4b311e777c Add Delete an asset call to the ML (#11186) 2021-10-19 11:26:35 +02:00
Alexandre Bodin
5f5895e8b5 Make sure the results are sanitized 2021-10-07 18:05:06 +02:00
Alexandre Bodin
7676bf8890 Move ML find many to find page 2021-10-07 17:23:42 +02:00
Pierre Noël
6fe8c51df2 remove search admin route for upload plugin 2021-09-27 11:08:48 +02:00
Pierre Noël
0f123ceb39 fix RBAC 2021-09-27 11:08:48 +02:00
Pierre Noël
d02c7ab741 Use new filters format in the upload plugin 2021-09-27 11:08:47 +02:00