Meteor-Community-Packages/meteor-roles

Migration Script should delete old roles

Open

#300 ouverte le 28 nov. 2019

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)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?

Guide contributeur