Meteor-Community-Packages/meteor-roles

Migration Script should delete old roles

Open

#300 创建于 2019年11月28日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)JavaScript (161 fork)batch import
help wantedv1

仓库指标

Star
 (919 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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?

贡献者指南