Meteor-Community-Packages/meteor-roles

Migration Script should delete old roles

Offen

#300 geöffnet am 28.11.2019

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (161 Forks)batch import
help wantedv1

Repository-Metriken

Stars
 (919 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

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