allowed non-admin users to view /checkout

This commit is contained in:
Yaman 2014-12-31 11:54:56 -05:00
parent 91be0dd559
commit 8fd4f11b5f

View File

@ -18,11 +18,9 @@ Meteor.publish('chromebook', function() {
return Chromebooks.find();
} else {
// user not authorized. do not publish secrets
this.stop();
return;
}
else {
return Chromebooks.find({}, {fields: {number: 1, status: 1, userid: 1, last_checkout: 1}});
}
});