Closed razvangherghina closed 6 years ago
Thanks. I fixed it. Can you please verify that?
All right. Great job Meteor Streams, I am also waiting your opLog implementation of Collections
Hope to release in next week, Keep in touch.
On Sun, Jul 21, 2013 at 8:46 PM, razvangherghina notifications@github.comwrote:
All right. Great job Meteor Streams, I am also waiting your opLog implementation of Collections.
Best regards, Razvan
2013/7/21 Arunoda Susiripala notifications@github.com
Thanks. I fixed it. Can you please verify that?
— Reply to this email directly or view it on GitHub< https://github.com/arunoda/meteor-streams/issues/3#issuecomment-21310962> .
— Reply to this email directly or view it on GitHubhttps://github.com/arunoda/meteor-streams/issues/3#issuecomment-21311538 .
Arunoda Susiripala
@arunoda http://twitter.com/arunoda http://gplus.to/arunodahttps://github.com/arunoda http://www.linkedin.com/in/arunoda
On documentation page "Communication Patterns": first argument of the function is eventName not userId:
if(Meteor.isServer) { stream.permissions.write(function(userId, eventName) { return false; });
stream.permissions.read(function(userId, eventName) { return true; });