Added Allow-Deny Rules

This commit is contained in:
Thaum
2015-03-16 05:56:33 +00:00
parent 9722a19c89
commit e0db87c174
16 changed files with 89 additions and 1 deletions

View File

@@ -39,3 +39,5 @@ Containers.before.remove(function (userId, container) {
});
}
});
Containers.allow(CHARACTER_SUBSCHEMA_ALLOW);

View File

@@ -55,3 +55,5 @@ Items.after.update(function (userId, item, fieldNames, modifier, options) {
Attacks.update(attack._id, { $set: {charId: item.charId, enabled: item.equipped, name: item.name} });
});
}, {fetchPrevious: false});
Items.allow(CHARACTER_SUBSCHEMA_ALLOW);