Ghost/test
Rishabh 3e9a23355f Handled visibility filter in post/page API
refs https://github.com/TryGhost/Team/issues/849

As part of work for segmented post access with multiple products, the custom filter for post access is stored in `visibility` field on posts but passed with `visibility_filter` property on API. This change -

- updates input serializer of posts to transform `visibility` and `visibility_filter` properties correctly
- updates output serializer for canary to transform and send `visibility_filter` attribute with filter value
- updates output serializer for v3 to ignore any custom filter on visibility and return `paid` instead as v3 didn't have a concept of custom filter
2021-07-05 17:10:45 +05:30
..
api-acceptance Added webp image support (#13105) 2021-07-02 09:37:54 +01:00
frontend-acceptance Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
regression Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
unit Handled visibility filter in post/page API 2021-07-05 17:10:45 +05:30
utils Added webp image support (#13105) 2021-07-02 09:37:54 +01:00
.eslintignore Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00