Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collection audits are wrong #60

Open
teknologist opened this issue Sep 3, 2016 · 0 comments
Open

Collection audits are wrong #60

teknologist opened this issue Sep 3, 2016 · 0 comments

Comments

@teknologist
Copy link

teknologist commented Sep 3, 2016

I have a collection Products and it's defined like this (I am not writing here the schema and others for the sake of simplicity):

export const Products = new Mongo.Collection('products');

Products.allow({
  insert: () => false,
  update: () => false,
  remove: () => false
});

Products.deny({
  insert: () => true,
  update: () => true,
  remove: () => true
});

So we forbid any updates using client mongo upates (latency compensation). We do all of them through secured methods.

Nevertheless the outpout from audit in the tool is the following:

screenshot from 2016-09-03 18-22-14

We believe this wrong.

All this is reproducible using The Meteor Chef's Base...

many thanks for the tool ! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant