Skip to content

Collection audits are wrong #60

Description

@teknologist

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 ! :-)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions