Blame view
collections/example.coffee
459 Bytes
d1f4dbea8
|
1 2 3 4 |
@Example = new Meteor.Collection 'example' # Allow Example.allow |
5f6f6fbb0
|
5 6 7 8 9 10 11 12 13 |
insert: (userId, doc) -> # ... update: (userId, doc, fields, modifier) -> # ... remove: (userId, doc) -> # ... fetch: ['owner'], transform: () -> # ... |
d1f4dbea8
|
14 15 16 |
# Deny Example.deny |
5f6f6fbb0
|
17 18 19 20 21 22 23 24 25 |
insert: (userId, doc) -> # ... update: (userId, doc, fields, modifier) -> # ... remove: (userId, doc) -> # ... fetch: ['locked'] transform: () -> # ... |