Meteor-Community-Packages/meteor-roles

Migration Script should delete old roles

Open

#300 建立於 2019年11月28日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)JavaScript (919 star) (161 fork)batch import
help wantedv1

描述

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?

貢獻者指南

Migration Script should delete old roles · Meteor-Community-Packages/meteor-roles#300 | Good First Issue