remove server check overrides
This commit is contained in:
@@ -132,9 +132,6 @@ makeParent = function(collection, donatedKeys){
|
||||
};
|
||||
|
||||
var checkPermission = function(userId, charId){
|
||||
if (Meteor.isServer) { // we always trust server
|
||||
return true;
|
||||
}
|
||||
var char = Characters.findOne(charId, {fields: {owner: 1, writers: 1}});
|
||||
if (!char)
|
||||
throw new Meteor.Error("Access Denied, no charId",
|
||||
|
||||
Reference in New Issue
Block a user