Meteor-Community-Packages / meteor-roles

Authorization package for Meteor, compatible with built-in accounts packages
http://meteor-community-packages.github.io/meteor-roles/
MIT License
921 stars 166 forks source link

extra user definable fields on roles #275

Closed maasha closed 4 years ago

maasha commented 5 years ago

Can we have extra fields to hold meta-data. E.g. I would like to have a description field for each role?

{
  "_id" : "WzcRA2GzcrnGLeDtB",
  "name" : "SuperUser",
  "meta" : {
    "description" : "User with demi-god powers"
  }
}
mitar commented 5 years ago

In 2.0 you can add to the collection any other fields you want yourself.