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
..
2020-11-02 19:41:42 +01:00
2021-09-07 21:03:30 +02:00
2021-09-07 21:03:30 +02:00
2021-09-27 17:56:05 +02:00