remove unneeded allow insert

This commit is contained in:
Sacha Greif 2014-09-01 18:19:36 +09:00
parent 056dfd1c4c
commit c665e1818e
2 changed files with 2 additions and 4 deletions

View file

@ -78,7 +78,6 @@ Comments.deny({
});
Comments.allow({
insert: canCommentById,
update: canEditById,
remove: canEditById
});

View file

@ -111,9 +111,8 @@ Posts.deny({
});
Posts.allow({
insert: canPostById
, update: canEditById
, remove: canEditById
update: canEditById,
remove: canEditById
});
clickedPosts = [];