File tree 3 files changed +7
-2
lines changed
3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ standard-minifiers # JS/CSS minifiers run for production mode
16
16
es5-shim # ECMAScript 5 compatibility for older browsers.
17
17
ecmascript # Enable ECMAScript2015+ syntax in app code
18
18
19
- insecure # Allow all DB writes from clients (for prototyping)
20
19
twbs:bootstrap
21
20
underscore
22
21
iron:router@1.0.0-rc.1
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ htmljs@1.0.5
34
34
http@1.1.1
35
35
ian:accounts-ui-bootstrap-3@1.2.83
36
36
id-map@1.0.4
37
- insecure@1.0.4
38
37
iron:controller@1.0.12
39
38
iron:core@1.0.11
40
39
iron:dynamic-template@1.0.12
Original file line number Diff line number Diff line change 1
1
Posts = new Mongo . Collection ( 'posts' ) ;
2
+
3
+ Posts . allow ( {
4
+ insert : function ( userId , doc ) {
5
+ // only allow posting if you are logged in
6
+ return ! ! userId ;
7
+ }
8
+ } ) ;
You can’t perform that action at this time.
0 commit comments