removed useless file (not needed); users cannot edit anything

This commit is contained in:
perroned 2014-08-18 07:55:59 -07:00
parent a9c938754a
commit 3562a9ca34

View File

@ -1,25 +0,0 @@
SetCollectionPermissions = function() {
/*Users.allow({
'insert': function(userId, doc){
return userId;
},
'update': function(userId, doc, fields, modifier){
return userId;
},
});*/
/*Meetings.users.allow({
'insert': function(userId, doc){
return Roles.userIsInRole(Meteor.user(), ["admin"]);
},
'update': function (userId, doc, fields, modifier) {
return Roles.userIsInRole(Meteor.user(), ["admin"]) && doc.username !== "Admin";
},
remove: function(userId, doc) {
return Roles.userIsInRole(userId, ["admin"]) && doc.username !== "Admin";
}
});*/
return 0;
}