Ghost/core/frontend/services/theme-engine/middleware
Fabien 'egg' O'Carroll 9ff8d7f910
🐛 Fixed post access in the get helper (#14282)
refs https://github.com/TryGhost/Team/issues/1367

Because we are passing through a different member object as the context
in the get helper, the content gating was not working correctly, as the
member was missing a status property, this adds the property which fixes
content gating.

- Added extra tests for get helper {{access}} property
- Added extra test for {{access}} property in next_post helper
- In the future we might want to update the tests so they test the whole request -> HBS context flow. Currently the has context is still stubbed manually.
2022-03-17 11:14:29 +01:00
..
ensure-active-theme.js Split theme engine middleware into separate files 2021-12-01 12:04:36 +00:00
index.js Split theme engine middleware into separate files 2021-12-01 12:04:36 +00:00
update-global-template-options.js Included benefits with theme product data (#14051) 2022-01-24 13:55:25 +02:00
update-local-template-data.js Split theme engine middleware into separate files 2021-12-01 12:04:36 +00:00
update-local-template-options.js 🐛 Fixed post access in the get helper (#14282) 2022-03-17 11:14:29 +01:00