{"repo":"Meteor-Community-Packages/meteor-schema-deny","free":true,"listed":false,"github":"https://github.com/Meteor-Community-Packages/meteor-schema-deny","clone":"git clone https://github.com/Meteor-Community-Packages/meteor-schema-deny.git","description":"Deny inserting or updating certain properties through schema options","language":"JavaScript","stars":12,"topics":["meteorjs","mongodb","schema"],"license":"MIT","category":"databases-storage","readme_excerpt":"aldeed:schema-deny A Meteor package that allows you to deny inserting or updating certain properties in your database by setting options in your schema. Installation In your Meteor app directory, enter: Usage If you set denyUpdate: true , any collection update that modifies the field will fail. For instance: The denyInsert option works the same way, but for inserts. If you set denyInsert to true, you will need to set optional: true as well. Contributing Anyone is welcome to contribute. Fork, make and test your changes ( meteor test-packages ./ ), and then submit a pull request. Running Tests Running Tests in Watch Mode","default_branch":null,"files":null,"tree":[],"storefront":"/r/Meteor-Community-Packages","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Meteor-Community-Packages/meteor-schema-deny/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}