VulcanJS / Vulcan

🌋 A toolkit to quickly build apps with React, GraphQL & Meteor

Home Page:http://vulcanjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error Cannot read property 'canRead' of undefined after modifying schema

EloyID opened this issue · comments

Hi !

I found this problem after modifying the schema of a collection and the solution was to drop the documents (still in local) but I think it would be great to give some information about the field.

I have tested a little bit and I think it comes from the function restrictDocument at packages/vulcan-users/lib/modules/permissions.js