mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
3e9a23355f
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 |
||
---|---|---|
.. | ||
serializers | ||
validators | ||
index.js | ||
permissions.js |