Skip to content

Commit

Permalink
Updated full policy data model with scalability test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Wouter Dullaert committed Jun 19, 2018
1 parent c547bdd commit 7d9e5e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/watchers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 7d9e5e6

Please sign in to comment.