Why posts.update and remove works when meteor insecure package is removed


#1

Greetings

I m new to Meteor community.
I m reading the discover meteor book.
I came across a part where posts.insert function doesn’t work when the meteor insecure package was removed.
But later in the chapter, posts.update and remove is allowed to be made directly using
Posts.update()
Posts.remove()
Why does it still work even when the meteor insecure package is removed?

Thank you :slight_smile:

Problem have been solved :smile:
Thank you everyone and its great to be in Meteor community


#2

Inserting, updating, and removing documents from the client will not be allowed when the insecure package is removed. You can allow these operations from the client by using allow/deny rules. Take a look at the documentation for it here: http://docs.meteor.com/#/full/allow