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

@@ -36,3 +36,6 @@ Features.after.update(function (userId, feature, fieldNames, modifier, options)
Effects.update(effect._id, { $set: {charId: feature.charId, enabled: enabled, name: feature.name} });
});
}, {fetchPrevious: false});
Features.allow(CHARACTER_SUBSCHEMA_ALLOW);
Features.deny(CHARACTER_SUBSCHEMA_DENY);