A Meteor package that extends Mongo.Collection to provide support for specifying a schema and then validating against that schema when inserting and updating.
In version 3 of the meteor-roles package I've changed the database model so it doesn't store the assigned roles in the user-document anymore. Since you're here showing an example of a schema that could be used for the users collection, I think it's worth mentioning that this only yields for version 1 and 2 of the meteor-roles package.
In version 3 of the
meteor-roles
package I've changed the database model so it doesn't store the assigned roles in the user-document anymore. Since you're here showing an example of a schema that could be used for theusers
collection, I think it's worth mentioning that this only yields for version 1 and 2 of themeteor-roles
package.