Meteor-Community-Packages/meteor-roles

Migration Script should delete old roles

Open

#300 aberto em 28 de nov. de 2019

Ver no 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?

Guia do colaborador