Meteor-Community-Packages/meteor-roles

Migration Script should delete old roles

Open

#300 aperta il 28 nov 2019

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)JavaScript (161 fork)batch import
help wantedv1

Metriche repository

Star
 (919 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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?

Guida contributor