diff --git a/chromebook-checkout-meteor/collections/carts.js b/chromebook-checkout-meteor/collections/carts.js index 782dcdb..90f3004 100644 --- a/chromebook-checkout-meteor/collections/carts.js +++ b/chromebook-checkout-meteor/collections/carts.js @@ -9,7 +9,5 @@ carts.allow({ remove: function (userId, doc) { return Roles.userIsInRole(userId, ['admin']); }, - fetch: function (userId, doc) { - return (userId != null); - } + fetch: [] }); \ No newline at end of file diff --git a/chromebook-checkout-meteor/collections/chromebooks.js b/chromebook-checkout-meteor/collections/chromebooks.js index 01107cd..759cc02 100644 --- a/chromebook-checkout-meteor/collections/chromebooks.js +++ b/chromebook-checkout-meteor/collections/chromebooks.js @@ -9,7 +9,5 @@ Chromebooks.allow({ remove: function (userId, doc) { return Roles.userIsInRole(userId, ['admin']); }, - fetch: function (userId, doc) { - return (userId != null); - } + fetch: [] }); \ No newline at end of file