mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 16:01:40 +03:00
97ea664d4d
refs https://forum.ghost.org/t/plaintext-value-is-empty-using-the-api/10537 - The `plaintext`/`html` fields were empty because `visibility` attribute was not present in response body on output serialization stage. `visibility` field is always needed for content gating to work as expected - Added `visibility` field in the input serialization layer as it wouldn't be possible to use content gating if added on model layer through `defaultColumnsToFetch` - Added test cases covering a bug |
||
---|---|---|
.. | ||
serializers | ||
validators | ||
index.js | ||
permissions.js |