Methods vs. Allow/Deny


#1

What are the performance differences of methods vs. allow/deny?

When should I use which?


#2

@mz103, take a look at this topic that I’ve made soem time ago,


#3

They are the same performance wise. The Players.insert is just a facade for a Meteor.call('players/insert', ... call. Under the hood it’s all using Meteor methods.

I switched to only using Meteor methods because they offer more flexibility and easier to reason about security logic.

Also here’s an article that goes into more depth: https://www.discovermeteor.com/blog/meteor-methods-client-side-operations/


#4

Another discussion: