0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Added visibility filter string to post/page admin schema

refs https://github.com/TryGhost/Team/issues/849

With multiple products back behind alpha flag, we want to bring back segmented post access for members which allows site owners to set post access to specific products. This change -

- updates admin-api-schema to allow `visibility_filter` attribute to post/page response
This commit is contained in:
Rishabh 2021-07-02 20:43:13 +05:30 committed by Rishabh Garg
parent fec534f833
commit 6988dadb1e
2 changed files with 5 additions and 7 deletions

View file

@ -46,7 +46,7 @@
"@nexes/nql": "0.5.2",
"@sentry/node": "6.8.0",
"@tryghost/adapter-manager": "0.2.14",
"@tryghost/admin-api-schema": "2.4.0",
"@tryghost/admin-api-schema": "2.5.0",
"@tryghost/bookshelf-plugins": "0.1.3",
"@tryghost/bootstrap-socket": "0.2.9",
"@tryghost/config-url-helpers": "0.1.0",

View file

@ -598,14 +598,12 @@
dependencies:
"@tryghost/errors" "^0.2.13"
"@tryghost/admin-api-schema@2.4.0":
version "2.4.0"
resolved "https://registry.yarnpkg.com/@tryghost/admin-api-schema/-/admin-api-schema-2.4.0.tgz#d84885ba138d7da709f8934f18abe3a4635e6f09"
integrity sha512-A1b/lohwKmR2u26ycQvvSzC9MrRwk3ZLvHPPbHeFxH4g2yH2N3JX420WHvi4Vk0e2E5gFzir2e7itG9BJ9SaoQ==
"@tryghost/admin-api-schema@2.5.0":
version "2.5.0"
resolved "https://registry.yarnpkg.com/@tryghost/admin-api-schema/-/admin-api-schema-2.5.0.tgz#8ac3dccff3428197745032e4fda07d781464397f"
integrity sha512-8LyI2/weIN8js3Wg+LIfPygG/tSRijqrBEbJ0bEroPkm+27oF7MfAj+vSAzHj65G6cBP8lIUetGPNO2U+nHjPw==
dependencies:
"@tryghost/errors" "^0.2.10"
bluebird "^3.5.3"
ghost-ignition "^4.6.2"
lodash "^4.17.11"
"@tryghost/bookshelf-collision@^0.1.1":