Meteor-Community-Packages/meteor-roles

Migration Script should delete old roles

Open

#300 geöffnet am 28. Nov. 2019

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (919 Stars) (161 Forks)batch import
help wantedv1

Beschreibung

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