12 Commits

Author SHA1 Message Date
Alexandre Bodin
0ae14c06cb 1st fix pass 2022-08-11 10:20:48 +02: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
Alexandre Bodin
5b5434c001 Fix CI and some tests 2021-08-06 18:46:30 +02:00
Alexandre Bodin
09f7269b4a Implement compos in the entity service 2021-07-06 14:18:03 +02:00
Alexandre Bodin
e973804399 Filters working 2021-07-05 18:35:16 +02:00
Alexandre Bodin
ab3760bb66 Rename import & requires, fix tests 2021-04-29 13:51:12 +02:00
Alexandre Bodin
e45f6df0b9 Move plugins & cleanup configs 2021-04-29 11:11:46 +02:00
Convly
b9edf6ba56 Take pr review into account 2021-01-08 10:09:10 +01:00
Convly
579e4c32e9 Reworked the test builder 2021-01-08 10:09:10 +01:00
Convly
2431149912 Lint fixes 2021-01-08 10:09:09 +01:00
Convly
abda7e674a TestBuilder v1 + impl in packages/strapi
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2021-01-08 09:52:21 +01:00
Convly
5bf9375381 First impl (wip)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2021-01-08 09:52:21 +01:00