From a81ed565db5c15d922ce1575a7a4e6552fe44bf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ma=C5=82ecki?= Date: Wed, 29 Jul 2015 23:20:38 +0200 Subject: [PATCH] Do not blacklist `access` property We need to store it on `user-acl` `private` update. --- registry/updates.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/registry/updates.js b/registry/updates.js index 0ed3596..4bf4fc6 100644 --- a/registry/updates.js +++ b/registry/updates.js @@ -305,8 +305,6 @@ updates.package = function (doc, req) { // return ok(result, message) to exit successfully at any point. // Does some final data integrity cleanup stuff. function ok (doc, message) { - // access is handled elsewhere, and should not be stored. - delete doc.access delete doc.mtime delete doc.ctime var time = doc.time = doc.time || {}