From 7d9e5e6c94b06470e9c66fb14f47e6d53329e7e2 Mon Sep 17 00:00:00 2001 From: Wouter Dullaert Date: Tue, 19 Jun 2018 13:50:05 +0200 Subject: [PATCH] Updated full policy data model with scalability test changes --- utils/watchers.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/watchers.js b/utils/watchers.js index a425b77..0368005 100644 --- a/utils/watchers.js +++ b/utils/watchers.js @@ -163,6 +163,8 @@ async function watchDataSubjects () { // Create new list of policies for data subject console.debug("Data subject policies modified, generating new set of policies.") newPolicies = { + "timestamp": new Date().getTime(), + "userID": dataSubjectId, "simplePolicies": row["new_val"]["policies"].map(policy => { let simplePolicy = Object.assign({}, policies[policy]) delete simplePolicy["explanation"]