Hacker News new | ask | show | jobs
by tracker1 4193 days ago
How does your example prevent someone with access to your meteor server from bypassing your custom permissions? My understanding is the code in question runs on the client.
2 comments

I think the code runs in both places. In the client, it describes the messages it will send, and in the server, it describes the messages to expect. So the server still verifies that the database requests are only permitted ones.
There is no difference compared to a web page - the permissions are still handled server-side, I'm just relaying the events via DDP.