Meteor-Community-Packages/meteor-roles

Migration Script should delete old roles

Open

#300 opened on Nov 28, 2019

View on GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (919 stars) (161 forks)batch import
help wantedv1

Description

The migration scripts do not delete the old roles in the Roles collection:

{ "_id" : "admin", "children" : [ ] } //new role is created
{ "_id" : "u9jJZoAfaEApp6QBw", "name" : "admin" } // old role is still here

Shouldn't the old roles go the way of the dodo?

Contributor guide