From 822fda59cbf13670ba6e559650fcb31ab0168ef0 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Thu, 30 Apr 2020 07:09:19 +0100 Subject: [PATCH] Added a TODO for members access code - Need to rethink how & where we apply this - Want to make sure I find this again later :D --- core/frontend/services/routing/controllers/entry.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/frontend/services/routing/controllers/entry.js b/core/frontend/services/routing/controllers/entry.js index 74d0e2d919..9e85e69a87 100644 --- a/core/frontend/services/routing/controllers/entry.js +++ b/core/frontend/services/routing/controllers/entry.js @@ -84,6 +84,7 @@ module.exports = function entryController(req, res, next) { } // CASE: Add access property to entry for v3+ api + // @TODO: reconsider the location of this - it's part of members if (res.locals.apiVersion !== 'v0.1' && res.locals.apiVersion !== 'v2') { entry.access = !!entry.html; }